Index: content/renderer/render_view_impl.cc |
=================================================================== |
--- content/renderer/render_view_impl.cc (revision 132437) |
+++ content/renderer/render_view_impl.cc (working copy) |
@@ -1572,17 +1572,9 @@ |
WebStorageNamespace* RenderViewImpl::createSessionStorageNamespace( |
unsigned quota) { |
-#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND |
CHECK(session_storage_namespace_id_ != |
dom_storage::kInvalidSessionStorageNamespaceId); |
return new RendererWebStorageNamespaceImpl(session_storage_namespace_id_); |
-#else |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess)) |
- return WebStorageNamespace::createSessionStorageNamespace(quota); |
- CHECK(session_storage_namespace_id_ != |
- dom_storage::kInvalidSessionStorageNamespaceId); |
- return new RendererWebStorageNamespaceImpl(session_storage_namespace_id_); |
-#endif |
} |
WebGraphicsContext3D* RenderViewImpl::createGraphicsContext3D( |