| Index: webkit/support/test_webkit_platform_support.cc
|
| ===================================================================
|
| --- webkit/support/test_webkit_platform_support.cc (revision 124232)
|
| +++ 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,11 @@
|
| 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.
|
| +#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
|
| + NOTREACHED();
|
| +#endif
|
| }
|
|
|
| WebKit::WebIDBFactory* TestWebKitPlatformSupport::idbFactory() {
|
|
|