Title: [177252] trunk/Source/WebKit2
Revision
177252
Author
[email protected]
Date
2014-12-12 17:06:56 -0800 (Fri, 12 Dec 2014)

Log Message

Handle caches in WebsiteDataStore
https://bugs.webkit.org/show_bug.cgi?id=139607
<rdar://problem/19107614>

Reviewed by Sam Weinig.

* UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::computeNetworkProcessAccessType):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (177251 => 177252)


--- trunk/Source/WebKit2/ChangeLog	2014-12-13 00:44:32 UTC (rev 177251)
+++ trunk/Source/WebKit2/ChangeLog	2014-12-13 01:06:56 UTC (rev 177252)
@@ -1,3 +1,14 @@
+2014-12-12  Anders Carlsson  <[email protected]>
+
+        Handle caches in WebsiteDataStore
+        https://bugs.webkit.org/show_bug.cgi?id=139607
+        <rdar://problem/19107614>
+
+        Reviewed by Sam Weinig.
+
+        * UIProcess/WebsiteData/WebsiteDataStore.cpp:
+        (WebKit::computeNetworkProcessAccessType):
+
 2014-12-12  Enrica Casucci  <[email protected]>
 
         [iOS] Predictions are not updated when using navigation buttons.

Modified: trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp (177251 => 177252)


--- trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp	2014-12-13 00:44:32 UTC (rev 177251)
+++ trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp	2014-12-13 01:06:56 UTC (rev 177252)
@@ -104,7 +104,8 @@
             processAccessType = std::max(processAccessType, ProcessAccessType::Launch);
     }
 
-    // FIXME: Handle caches here too.
+    if (dataTypes & WebsiteDataTypeDiskCache && !isNonPersistantStore)
+        processAccessType = std::max(processAccessType, ProcessAccessType::Launch);
 
     return processAccessType;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to