| Summary: | [SOUP] Stop using SoupBuffer in preparation for libsoup3 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||||
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | annulen, aperez, berto, bugs-noreply, cdumez, ews-watchlist, gustavo, gyuyoung.kim, ryuan.choi, sergio, svillar | ||||||
| Priority: | P2 | Keywords: | Gtk | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 220508 | ||||||||
| Attachments: |
|
||||||||
|
Description
Carlos Garcia Campos
2021-02-01 07:13:29 PST
Created attachment 418870 [details]
Patch
Created attachment 418874 [details]
Patch
Comment on attachment 418874 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418874&action=review > Source/WebCore/platform/network/soup/ResourceRequestSoup.cpp:69 > + SoupBuffer* soupBuffer = soup_buffer_new_with_owner(g_bytes_get_data(data, nullptr), auto* soupBuffer ? Also I guess this would be migrated later right? Consider adding a comment. Comment on attachment 418874 [details] Patch LGTM as well View in context: https://bugs.webkit.org/attachment.cgi?id=418874&action=review >> Source/WebCore/platform/network/soup/ResourceRequestSoup.cpp:69 >> + SoupBuffer* soupBuffer = soup_buffer_new_with_owner(g_bytes_get_data(data, nullptr), > > auto* soupBuffer ? > > Also I guess this would be migrated later right? Consider adding a comment. I assume that there will be later a patch adding the support to actually use libsoup3 inside “#if SOUP_CHECK_VERSION(2, 91, 0)” guards (or similar) and this version of the code will be in the “#else” arm of the conditional =] (In reply to Adrian Perez from comment #4) > Comment on attachment 418874 [details] > Patch > > LGTM as well > > View in context: > https://bugs.webkit.org/attachment.cgi?id=418874&action=review > > >> Source/WebCore/platform/network/soup/ResourceRequestSoup.cpp:69 > >> + SoupBuffer* soupBuffer = soup_buffer_new_with_owner(g_bytes_get_data(data, nullptr), > > > > auto* soupBuffer ? > > > > Also I guess this would be migrated later right? Consider adding a comment. > > I assume that there will be later a patch adding the support to actually > use libsoup3 inside “#if SOUP_CHECK_VERSION(2, 91, 0)” guards (or similar) > and > this version of the code will be in the “#else” arm of the conditional =] Exactly, it will be kept in the libsoup2 branch Committed r272196: <https://trac.webkit.org/changeset/272196> |