It's gone in libsoup3, we can just use GBytes instead.
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>