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

Unified Diff: chrome/browser/profiles/profile_io_data.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: chrome/browser/profiles/profile_io_data.cc
===================================================================
--- chrome/browser/profiles/profile_io_data.cc (revision 117096)
+++ chrome/browser/profiles/profile_io_data.cc (working copy)
@@ -547,7 +547,7 @@
BrowserThread::IO, FROM_HERE,
base::Bind(
&ResourceDispatcherHost::CancelRequestsForContext,
- base::Unretained(g_browser_process->resource_dispatcher_host()),
+ base::Unretained(ResourceDispatcherHost::Get()),
&resource_context_));
bool posted = BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this);
if (!posted)

Powered by Google App Engine
This is Rietveld 408576698