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

Unified Diff: content/browser/renderer_host/render_message_filter.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
Index: content/browser/renderer_host/render_message_filter.cc
===================================================================
--- content/browser/renderer_host/render_message_filter.cc (revision 132437)
+++ content/browser/renderer_host/render_message_filter.cc (working copy)
@@ -17,8 +17,8 @@
#include "base/threading/worker_pool.h"
#include "base/utf_string_conversions.h"
#include "content/browser/child_process_security_policy_impl.h"
+#include "content/browser/dom_storage/dom_storage_context_impl.h"
#include "content/browser/download/download_stats.h"
-#include "content/browser/in_process_webkit/dom_storage_context_impl.h"
#include "content/browser/plugin_process_host.h"
#include "content/browser/plugin_service_impl.h"
#include "content/browser/ppapi_plugin_process_host.h"
@@ -420,7 +420,6 @@
return;
}
-#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
// TODO(michaeln): Fix this.
// This is a bug in the existing impl, session storage is effectively
// leaked when created thru this code path (window.open()) since there
@@ -429,11 +428,6 @@
*cloned_session_storage_namespace_id =
dom_storage_context_->LeakyCloneSessionStorage(
params.session_storage_namespace_id);
-#else
- *cloned_session_storage_namespace_id =
- dom_storage_context_->CloneSessionStorage(
- params.session_storage_namespace_id);
-#endif
render_widget_helper_->CreateNewWindow(params,
no_javascript_access,

Powered by Google App Engine
This is Rietveld 408576698