Index: webkit/tools/test_shell/test_shell_webkit_init.cc |
=================================================================== |
--- webkit/tools/test_shell/test_shell_webkit_init.cc (revision 123798) |
+++ webkit/tools/test_shell/test_shell_webkit_init.cc (working copy) |
@@ -257,10 +257,14 @@ |
WebKit::WebStorageNamespace* TestShellWebKitInit::createLocalStorageNamespace( |
const WebKit::WebString& path, unsigned quota) { |
+#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND |
+ return dom_storage_system_.CreateLocalStorageNamespace(); |
+#else |
// Enforce quota here, ignoring the value from the renderer as in Chrome. |
return WebKit::WebStorageNamespace::createLocalStorageNamespace( |
path, |
WebKit::WebStorageNamespace::m_localStorageQuota); |
+#endif |
} |
void TestShellWebKitInit::dispatchStorageEvent( |
@@ -268,7 +272,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* TestShellWebKitInit::idbFactory() { |