Title: [185817] trunk/Source/WebKit2
Revision
185817
Author
[email protected]
Date
2015-06-21 21:48:04 -0700 (Sun, 21 Jun 2015)

Log Message

WKApplicationCacheManagerDeleteEntriesForOrigin() has wrong WebsiteDataTypes.
https://bugs.webkit.org/show_bug.cgi?id=146180

Patch by Hyungwook Lee <[email protected]> on 2015-06-21
Reviewed by Sam Weinig.

Modify to use correct WebsiteDataTypes in WKApplicationCacheManagerDeleteEntriesForOrigin()

* UIProcess/API/C/WKApplicationCacheManager.cpp:
(WKApplicationCacheManagerDeleteEntriesForOrigin):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (185816 => 185817)


--- trunk/Source/WebKit2/ChangeLog	2015-06-22 04:25:18 UTC (rev 185816)
+++ trunk/Source/WebKit2/ChangeLog	2015-06-22 04:48:04 UTC (rev 185817)
@@ -1,3 +1,15 @@
+2015-06-21  Hyungwook Lee  <[email protected]>
+
+        WKApplicationCacheManagerDeleteEntriesForOrigin() has wrong WebsiteDataTypes.
+        https://bugs.webkit.org/show_bug.cgi?id=146180
+
+        Reviewed by Sam Weinig.
+
+        Modify to use correct WebsiteDataTypes in WKApplicationCacheManagerDeleteEntriesForOrigin()
+
+        * UIProcess/API/C/WKApplicationCacheManager.cpp:
+        (WKApplicationCacheManagerDeleteEntriesForOrigin):
+
 2015-06-21  Dan Bernstein  <[email protected]>
 
         <rdar://problem/21444762> REGRESSION (r184215): Plug-in services crash on launch on Yosemite

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKApplicationCacheManager.cpp (185816 => 185817)


--- trunk/Source/WebKit2/UIProcess/API/C/WKApplicationCacheManager.cpp	2015-06-22 04:25:18 UTC (rev 185816)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKApplicationCacheManager.cpp	2015-06-22 04:48:04 UTC (rev 185817)
@@ -56,7 +56,7 @@
     auto& websiteDataStore = toImpl(reinterpret_cast<WKWebsiteDataStoreRef>(applicationCacheManager))->websiteDataStore();
 
     WebsiteDataRecord dataRecord;
-    dataRecord.add(WebsiteDataTypes::WebsiteDataTypeIndexedDBDatabases, &toImpl(origin)->securityOrigin());
+    dataRecord.add(WebsiteDataTypes::WebsiteDataTypeOfflineWebApplicationCache, &toImpl(origin)->securityOrigin());
 
     websiteDataStore.removeData(WebsiteDataTypes::WebsiteDataTypeOfflineWebApplicationCache, { dataRecord }, [] { });
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to