Title: [196765] trunk/Source/WebKit2
Revision
196765
Author
[email protected]
Date
2016-02-18 10:44:51 -0800 (Thu, 18 Feb 2016)

Log Message

Remove two unused functions
https://bugs.webkit.org/show_bug.cgi?id=154397

Reviewed by Tim Horton.

* UIProcess/API/C/WKContext.cpp:
(WKContextGetPluginSiteDataManager): Deleted.
(WKContextGetResourceCacheManager): Deleted.
* UIProcess/API/C/WKContext.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (196764 => 196765)


--- trunk/Source/WebKit2/ChangeLog	2016-02-18 18:21:49 UTC (rev 196764)
+++ trunk/Source/WebKit2/ChangeLog	2016-02-18 18:44:51 UTC (rev 196765)
@@ -1,3 +1,15 @@
+2016-02-18  Anders Carlsson  <[email protected]>
+
+        Remove two unused functions
+        https://bugs.webkit.org/show_bug.cgi?id=154397
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/C/WKContext.cpp:
+        (WKContextGetPluginSiteDataManager): Deleted.
+        (WKContextGetResourceCacheManager): Deleted.
+        * UIProcess/API/C/WKContext.h:
+
 2016-02-18  Carlos Garcia Campos  <[email protected]>
 
         [GTK] Use G_TYPE_ERROR instead of G_TYPE_POINTER for GError parameters of signals

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp (196764 => 196765)


--- trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp	2016-02-18 18:21:49 UTC (rev 196764)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp	2016-02-18 18:44:51 UTC (rev 196765)
@@ -447,21 +447,6 @@
     return toAPI(toImpl(contextRef)->supplement<WebNotificationManagerProxy>());
 }
 
-WKPluginSiteDataManagerRef WKContextGetPluginSiteDataManager(WKContextRef context)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
-    return reinterpret_cast<WKPluginSiteDataManagerRef>(WKContextGetWebsiteDataStore(context));
-#else
-    UNUSED_PARAM(context);
-    return nullptr;
-#endif
-}
-
-WKResourceCacheManagerRef WKContextGetResourceCacheManager(WKContextRef context)
-{
-    return reinterpret_cast<WKResourceCacheManagerRef>(WKContextGetWebsiteDataStore(context));
-}
-
 void WKContextStartMemorySampler(WKContextRef contextRef, WKDoubleRef interval)
 {
     toImpl(contextRef)->startMemorySampler(toImpl(interval)->value());

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKContext.h (196764 => 196765)


--- trunk/Source/WebKit2/UIProcess/API/C/WKContext.h	2016-02-18 18:21:49 UTC (rev 196764)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContext.h	2016-02-18 18:44:51 UTC (rev 196765)
@@ -132,8 +132,6 @@
 WK_EXPORT WKKeyValueStorageManagerRef WKContextGetKeyValueStorageManager(WKContextRef context);
 WK_EXPORT WKMediaSessionFocusManagerRef WKContextGetMediaSessionFocusManager(WKContextRef context);
 WK_EXPORT WKNotificationManagerRef WKContextGetNotificationManager(WKContextRef context);
-WK_EXPORT WKPluginSiteDataManagerRef WKContextGetPluginSiteDataManager(WKContextRef context);
-WK_EXPORT WKResourceCacheManagerRef WKContextGetResourceCacheManager(WKContextRef context);
 
 typedef void (*WKContextGetStatisticsFunction)(WKDictionaryRef statistics, WKErrorRef error, void* functionContext);
 WK_EXPORT void WKContextGetStatistics(WKContextRef context, void* functionContext, WKContextGetStatisticsFunction function);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to