Index: webkit/support/test_webkit_platform_support.cc |
=================================================================== |
--- webkit/support/test_webkit_platform_support.cc (revision 123798) |
+++ webkit/support/test_webkit_platform_support.cc (working copy) |
@@ -321,7 +321,11 @@ |
WebKit::WebStorageNamespace* |
TestWebKitPlatformSupport::createLocalStorageNamespace( |
const WebKit::WebString& path, unsigned quota) { |
+#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND |
+ return dom_storage_system_.CreateLocalStorageNamespace(); |
+#else |
return WebKit::WebStorageNamespace::createLocalStorageNamespace(path, quota); |
+#endif |
} |
void TestWebKitPlatformSupport::dispatchStorageEvent( |
@@ -329,7 +333,9 @@ |
const WebKit::WebString& old_value, const WebKit::WebString& new_value, |
const WebKit::WebString& origin, const WebKit::WebURL& url, |
bool is_local_storage) { |
- // The event is dispatched by the proxy. |
+ // All events are dispatched by the WebCore::StorageAreaProxy in the |
+ // simple single process case. |
+ NOTREACHED(); |
} |
WebKit::WebIDBFactory* TestWebKitPlatformSupport::idbFactory() { |