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

Unified Diff: content/browser/tab_contents/interstitial_page.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/tab_contents/interstitial_page.cc
===================================================================
--- content/browser/tab_contents/interstitial_page.cc (revision 117096)
+++ content/browser/tab_contents/interstitial_page.cc (working copy)
@@ -573,17 +573,15 @@
// we don't have one.
RenderViewHost* rvh = RenderViewHost::FromID(original_child_id_,
original_rvh_id_);
- if (!rvh ||
- !content::GetContentClient()->browser()->GetResourceDispatcherHost()) {
+ if (!rvh || !ResourceDispatcherHost::Get())
return;
- }
BrowserThread::PostTask(
BrowserThread::IO,
FROM_HERE,
base::Bind(
&ResourceRequestHelper,
- content::GetContentClient()->browser()->GetResourceDispatcherHost(),
+ ResourceDispatcherHost::Get(),
original_child_id_,
original_rvh_id_,
action));

Powered by Google App Engine
This is Rietveld 408576698