Title: [216186] trunk/Source/WebKit2
Revision
216186
Author
[email protected]
Date
2017-05-04 07:58:26 -0700 (Thu, 04 May 2017)

Log Message

[Cocoa] -[WKWebsiteDataStore httpCookieStore] is declared in the main @interface but implemented in a category
https://bugs.webkit.org/show_bug.cgi?id=171657

Reviewed by Sam Weinig.

* UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
(-[WKWebsiteDataStore httpCookieStore]): Moved from the WKPrivate category into the main
  @implementation block.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (216185 => 216186)


--- trunk/Source/WebKit2/ChangeLog	2017-05-04 14:41:03 UTC (rev 216185)
+++ trunk/Source/WebKit2/ChangeLog	2017-05-04 14:58:26 UTC (rev 216186)
@@ -1,3 +1,14 @@
+2017-05-04  Dan Bernstein  <[email protected]>
+
+        [Cocoa] -[WKWebsiteDataStore httpCookieStore] is declared in the main @interface but implemented in a category
+        https://bugs.webkit.org/show_bug.cgi?id=171657
+
+        Reviewed by Sam Weinig.
+
+        * UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
+        (-[WKWebsiteDataStore httpCookieStore]): Moved from the WKPrivate category into the main
+          @implementation block.
+
 2017-05-04  Andy Estes  <[email protected]>
 
         [Cocoa] Add an optional width parameter to -[WKWebProcessPlugInNodeHandle renderedImageWithOptions:]

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebsiteDataStore.mm (216185 => 216186)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebsiteDataStore.mm	2017-05-04 14:41:03 UTC (rev 216185)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebsiteDataStore.mm	2017-05-04 14:58:26 UTC (rev 216186)
@@ -96,6 +96,11 @@
     return allWebsiteDataTypes;
 }
 
+- (WKHTTPCookieStore *)httpCookieStore
+{
+    return WebKit::wrapper(_websiteDataStore->httpCookieStore());
+}
+
 static std::chrono::system_clock::time_point toSystemClockTime(NSDate *date)
 {
     ASSERT(date);
@@ -197,11 +202,6 @@
     _websiteDataStore->websiteDataStore().setResourceLoadStatisticsEnabled(enabled);
 }
 
-- (WKHTTPCookieStore *)httpCookieStore
-{
-    return WebKit::wrapper(_websiteDataStore->httpCookieStore());
-}
-
 @end
 
 #endif // WK_API_ENABLED
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to