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

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

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix chromeos ui_tests Created 8 years, 11 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 117096)
+++ content/browser/renderer_host/render_message_filter.cc (working copy)
@@ -271,8 +271,7 @@
content::BrowserContext* browser_context,
net::URLRequestContextGetter* request_context,
RenderWidgetHelper* render_widget_helper)
- : resource_dispatcher_host_(
- content::GetContentClient()->browser()->GetResourceDispatcherHost()),
+ : resource_dispatcher_host_(ResourceDispatcherHost::Get()),
plugin_service_(plugin_service),
browser_context_(browser_context),
request_context_(request_context),

Powered by Google App Engine
This is Rietveld 408576698