Title: [176739] trunk/Source/WebKit2
- Revision
- 176739
- Author
- [email protected]
- Date
- 2014-12-03 12:30:18 -0800 (Wed, 03 Dec 2014)
Log Message
Remove ENABLE_UI_PROCESS_STORAGE define, it's always 1.
Rubber-stamped by Beth Dakin.
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::localStorageNamespace):
(WebKit::WebPlatformStrategies::transientLocalStorageNamespace):
(WebKit::WebPlatformStrategies::sessionStorageNamespace):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (176738 => 176739)
--- trunk/Source/WebKit2/ChangeLog 2014-12-03 20:16:02 UTC (rev 176738)
+++ trunk/Source/WebKit2/ChangeLog 2014-12-03 20:30:18 UTC (rev 176739)
@@ -1,5 +1,16 @@
2014-12-03 Anders Carlsson <[email protected]>
+ Remove ENABLE_UI_PROCESS_STORAGE define, it's always 1.
+
+ Rubber-stamped by Beth Dakin.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::localStorageNamespace):
+ (WebKit::WebPlatformStrategies::transientLocalStorageNamespace):
+ (WebKit::WebPlatformStrategies::sessionStorageNamespace):
+
+2014-12-03 Anders Carlsson <[email protected]>
+
Use an @autoreleasepool instead of NSAutoreleasePool.
Rubber-stamped by Tim Horton.
Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp (176738 => 176739)
--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp 2014-12-03 20:16:02 UTC (rev 176738)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp 2014-12-03 20:30:18 UTC (rev 176739)
@@ -68,9 +68,6 @@
#include "WebResourceLoadScheduler.h"
#endif
-// FIXME: Remove this #ifdef once we don't need the ability to turn the feature off.
-#define ENABLE_UI_PROCESS_STORAGE 1
-
using namespace WebCore;
namespace WebKit {
@@ -340,31 +337,19 @@
PassRefPtr<StorageNamespace> WebPlatformStrategies::localStorageNamespace(PageGroup* pageGroup)
{
-#if ENABLE(UI_PROCESS_STORAGE)
return StorageNamespaceImpl::createLocalStorageNamespace(pageGroup);
-#else
- return StorageStrategy::localStorageNamespace(pageGroup);
-#endif
}
PassRefPtr<StorageNamespace> WebPlatformStrategies::transientLocalStorageNamespace(PageGroup* pageGroup, SecurityOrigin*securityOrigin)
{
-#if ENABLE(UI_PROCESS_STORAGE)
UNUSED_PARAM(securityOrigin);
// FIXME: This could be more clever and made to work across processes.
return StorageStrategy::sessionStorageNamespace(*pageGroup->pages().begin());
-#else
- return StorageStrategy::transientLocalStorageNamespace(pageGroup, securityOrigin);
-#endif
}
PassRefPtr<StorageNamespace> WebPlatformStrategies::sessionStorageNamespace(Page* page)
{
-#if ENABLE(UI_PROCESS_STORAGE)
return StorageNamespaceImpl::createSessionStorageNamespace(WebPage::fromCorePage(page));
-#else
- return StorageStrategy::sessionStorageNamespace(page);
-#endif
}
#if PLATFORM(COCOA)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes