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

Unified Diff: content/browser/renderer_host/render_message_filter.cc

Issue 9467016: Get rid of WebKitContext. Only two out of six HTML5 related objects were in it and it was just a gl… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix bug Created 8 years, 10 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 123509)
+++ content/browser/renderer_host/render_message_filter.cc (working copy)
@@ -275,7 +275,8 @@
resource_context_(browser_context->GetResourceContext()),
render_widget_helper_(render_widget_helper),
incognito_(browser_context->IsOffTheRecord()),
- webkit_context_(BrowserContext::GetWebKitContext(browser_context)),
+ dom_storage_context_(static_cast<DOMStorageContextImpl*>(
+ BrowserContext::GetDOMStorageContext(browser_context))),
render_process_id_(render_process_id),
cpu_usage_(0) {
DCHECK(request_context_);
@@ -408,7 +409,7 @@
}
*cloned_session_storage_namespace_id =
- webkit_context_->dom_storage_context()->CloneSessionStorage(
+ dom_storage_context_->CloneSessionStorage(
params.session_storage_namespace_id);
render_widget_helper_->CreateNewWindow(params,
peer_handle(),
« no previous file with comments | « content/browser/renderer_host/render_message_filter.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698