diff options
Diffstat (limited to 'content/renderer/renderer_webkitplatformsupport_impl.cc')
-rw-r--r-- | content/renderer/renderer_webkitplatformsupport_impl.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc index 80c8b53..133bfc2 100644 --- a/content/renderer/renderer_webkitplatformsupport_impl.cc +++ b/content/renderer/renderer_webkitplatformsupport_impl.cc @@ -362,9 +362,8 @@ RendererWebKitPlatformSupportImpl::createLocalStorageNamespace( WebIDBFactory* RendererWebKitPlatformSupportImpl::idbFactory() { if (!web_idb_factory_) { - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess) && - !CommandLine::ForCurrentProcess()->HasSwitch(switches::kNewIndexedDB)) - web_idb_factory_.reset(WebIDBFactory::create()); + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess)) + web_idb_factory_.reset(WebIDBFactory::create()); else web_idb_factory_.reset(new RendererWebIDBFactoryImpl()); } |