Changeset 285101 in webkit
- Timestamp:
- Nov 1, 2021, 1:42:19 AM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r285100 r285101 1 2021-11-01 Daniel Kolesa <dkolesa@igalia.com> 2 3 Fix build with GCC 8.4 on Ubuntu 18.04 4 https://bugs.webkit.org/show_bug.cgi?id=232305 5 6 Reviewed by Adrian Perez de Castro. 7 8 Fix build with GCC 8.4 on Ubuntu 18.04 9 10 Thes sections of the code trigger an internal compiler error with 11 GCC 8.4, segfaulting the compiler. This adds a workaround that 12 makes it work again. 13 14 * Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp: 15 (WebCore::ClipboardItemBindingsDataSource::collectDataForWriting): 16 1 17 2021-10-31 Antti Koivisto <antti@apple.com> 2 18 -
trunk/Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp
r284095 r285101 140 140 141 141 auto promise = typeAndItem.value; 142 promise->whenSettled([this, protectedItem = Ref { m_item }, destination = m_writingDestination, promise, type, weakItemTypeLoader = WeakPtr { itemTypeLoader }] () mutable { 142 /* hack: gcc 8.4 will segfault if the WeakPtr is instantiated within the lambda captures */ 143 auto wl = WeakPtr { itemTypeLoader }; 144 promise->whenSettled([this, protectedItem = Ref { m_item }, destination = m_writingDestination, promise, type, weakItemTypeLoader = WTFMove(wl)] () mutable { 143 145 if (!weakItemTypeLoader) 144 146 return; -
trunk/Source/WebKit/ChangeLog
r285099 r285101 1 2021-11-01 Daniel Kolesa <dkolesa@igalia.com> 2 3 Fix build with GCC 8.4 on Ubuntu 18.04 4 https://bugs.webkit.org/show_bug.cgi?id=232305 5 6 Reviewed by Adrian Perez de Castro. 7 8 Thes sections of the code trigger an internal compiler error with 9 GCC 8.4, segfaulting the compiler. This adds a workaround that 10 makes it work again. 11 12 * NetworkProcess/NetworkProcess.cpp: 13 (WebKit::NetworkProcess::deleteAndRestrictWebsiteDataForRegistrableDomains): 14 1 15 2021-10-31 Fujii Hironori <Hironori.Fujii@sony.com> 2 16 -
trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp
r284897 r285101 1941 1941 if (websiteDataTypes.contains(WebsiteDataType::DiskCache)) { 1942 1942 forEachNetworkSession([sessionID, fetchOptions, &domainsToDeleteAllNonCookieWebsiteDataFor, &callbackAggregator](auto& session) { 1943 fetchDiskCacheEntries(session.cache(), sessionID, fetchOptions, [domainsToDeleteAllNonCookieWebsiteDataFor, callbackAggregator, session = WeakPtr { session }](auto entries) mutable { 1943 /* hack: gcc 8.4 will segfault if the WeakPtr is instantiated within the lambda captures */ 1944 auto ws = WeakPtr { session }; 1945 fetchDiskCacheEntries(session.cache(), sessionID, fetchOptions, [domainsToDeleteAllNonCookieWebsiteDataFor, callbackAggregator, session = WTFMove(ws)](auto entries) mutable { 1944 1946 if (!session) 1945 1947 return;
Note:
See TracChangeset
for help on using the changeset viewer.