Title: [244767] trunk/Source/WebKit
- Revision
- 244767
- Author
- [email protected]
- Date
- 2019-04-30 04:00:30 -0700 (Tue, 30 Apr 2019)
Log Message
REGRESSION(r244750): [GTK][WPE] Network process is crashing in all layout tests
https://bugs.webkit.org/show_bug.cgi?id=197406
Reviewed by Žan Doberšek.
Do not trasnfer ownership of cachePath to traverseDirectory() lambda, since it's passed also as first argument
and it can be passed as a reference.
* NetworkProcess/cache/NetworkCacheStorage.cpp:
(WebKit::NetworkCache::Storage::deleteOldVersions):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (244766 => 244767)
--- trunk/Source/WebKit/ChangeLog 2019-04-30 09:06:23 UTC (rev 244766)
+++ trunk/Source/WebKit/ChangeLog 2019-04-30 11:00:30 UTC (rev 244767)
@@ -1,3 +1,16 @@
+2019-04-30 Carlos Garcia Campos <[email protected]>
+
+ REGRESSION(r244750): [GTK][WPE] Network process is crashing in all layout tests
+ https://bugs.webkit.org/show_bug.cgi?id=197406
+
+ Reviewed by Žan Doberšek.
+
+ Do not trasnfer ownership of cachePath to traverseDirectory() lambda, since it's passed also as first argument
+ and it can be passed as a reference.
+
+ * NetworkProcess/cache/NetworkCacheStorage.cpp:
+ (WebKit::NetworkCache::Storage::deleteOldVersions):
+
2019-04-29 Truitt Savell <[email protected]>
Unreviewed, rolling out r244755.
Modified: trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp (244766 => 244767)
--- trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp 2019-04-30 09:06:23 UTC (rev 244766)
+++ trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp 2019-04-30 11:00:30 UTC (rev 244767)
@@ -1110,7 +1110,7 @@
void Storage::deleteOldVersions()
{
backgroundIOQueue().dispatch([cachePath = basePath()] () mutable {
- traverseDirectory(cachePath, [cachePath = WTFMove(cachePath)](const String& subdirName, DirectoryEntryType type) {
+ traverseDirectory(cachePath, [&cachePath](const String& subdirName, DirectoryEntryType type) {
if (type != DirectoryEntryType::Directory)
return;
if (!subdirName.startsWith(versionDirectoryPrefix))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes