Title: [225171] trunk/Source/WebKit
Revision
225171
Author
[email protected]
Date
2017-11-27 08:30:58 -0800 (Mon, 27 Nov 2017)

Log Message

REGRESSION(r223073): disk cache directory is no longer copied in ProcessPoolConfiguration::copy()
https://bugs.webkit.org/show_bug.cgi?id=180031

Reviewed by Youenn Fablet.

This has caused GTK/WPE test /webkit2/WebKitWebsiteData/configuration to fail, and the wrong directory is used
by the network process. I think it was removed by mistake in r223073.

* UIProcess/API/APIProcessPoolConfiguration.cpp:
(API::ProcessPoolConfiguration::copy): Copy m_diskCacheDirectory too.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (225170 => 225171)


--- trunk/Source/WebKit/ChangeLog	2017-11-27 16:22:54 UTC (rev 225170)
+++ trunk/Source/WebKit/ChangeLog	2017-11-27 16:30:58 UTC (rev 225171)
@@ -1,3 +1,16 @@
+2017-11-27  Carlos Garcia Campos  <[email protected]>
+
+        REGRESSION(r223073): disk cache directory is no longer copied in ProcessPoolConfiguration::copy()
+        https://bugs.webkit.org/show_bug.cgi?id=180031
+
+        Reviewed by Youenn Fablet.
+
+        This has caused GTK/WPE test /webkit2/WebKitWebsiteData/configuration to fail, and the wrong directory is used
+        by the network process. I think it was removed by mistake in r223073.
+
+        * UIProcess/API/APIProcessPoolConfiguration.cpp:
+        (API::ProcessPoolConfiguration::copy): Copy m_diskCacheDirectory too.
+
 2017-11-27  Adrian Perez de Castro  <[email protected]>
 
         [WPE][GTK] Improve contents of pkg-config .pc files

Modified: trunk/Source/WebKit/UIProcess/API/APIProcessPoolConfiguration.cpp (225170 => 225171)


--- trunk/Source/WebKit/UIProcess/API/APIProcessPoolConfiguration.cpp	2017-11-27 16:22:54 UTC (rev 225170)
+++ trunk/Source/WebKit/UIProcess/API/APIProcessPoolConfiguration.cpp	2017-11-27 16:30:58 UTC (rev 225171)
@@ -99,6 +99,7 @@
     copy->m_shouldHaveLegacyDataStore = this->m_shouldHaveLegacyDataStore;
     copy->m_maximumProcessCount = this->m_maximumProcessCount;
     copy->m_cacheModel = this->m_cacheModel;
+    copy->m_diskCacheDirectory = this->m_diskCacheDirectory;
     copy->m_diskCacheSpeculativeValidationEnabled = this->m_diskCacheSpeculativeValidationEnabled;
     copy->m_diskCacheSizeOverride = this->m_diskCacheSizeOverride;
     copy->m_applicationCacheDirectory = this->m_applicationCacheDirectory;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to