Title: [196766] trunk/Source/WebKit2
- Revision
- 196766
- Author
- [email protected]
- Date
- 2016-02-18 11:02:26 -0800 (Thu, 18 Feb 2016)
Log Message
Unreviewed, rolling out r196765.
https://bugs.webkit.org/show_bug.cgi?id=154402
Broke Safari (Requested by andersca on #webkit).
Reverted changeset:
"Remove two unused functions"
https://bugs.webkit.org/show_bug.cgi?id=154397
http://trac.webkit.org/changeset/196765
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (196765 => 196766)
--- trunk/Source/WebKit2/ChangeLog 2016-02-18 18:44:51 UTC (rev 196765)
+++ trunk/Source/WebKit2/ChangeLog 2016-02-18 19:02:26 UTC (rev 196766)
@@ -1,3 +1,16 @@
+2016-02-18 Commit Queue <[email protected]>
+
+ Unreviewed, rolling out r196765.
+ https://bugs.webkit.org/show_bug.cgi?id=154402
+
+ Broke Safari (Requested by andersca on #webkit).
+
+ Reverted changeset:
+
+ "Remove two unused functions"
+ https://bugs.webkit.org/show_bug.cgi?id=154397
+ http://trac.webkit.org/changeset/196765
+
2016-02-18 Anders Carlsson <[email protected]>
Remove two unused functions
Modified: trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp (196765 => 196766)
--- trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp 2016-02-18 18:44:51 UTC (rev 196765)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp 2016-02-18 19:02:26 UTC (rev 196766)
@@ -447,6 +447,21 @@
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 (196765 => 196766)
--- trunk/Source/WebKit2/UIProcess/API/C/WKContext.h 2016-02-18 18:44:51 UTC (rev 196765)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContext.h 2016-02-18 19:02:26 UTC (rev 196766)
@@ -132,6 +132,8 @@
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