Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: content/renderer/render_view_impl.cc

Issue 10086018: More DomStorage house cleaning (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/renderer_webkitplatformsupport_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/renderer_webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698