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

Unified Diff: chrome/browser/alternate_nav_url_fetcher.cc

Issue 10383271: Make AssociateWithRenderView() a free function in the 'content' namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use correct namespace Created 8 years, 7 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/alternate_nav_url_fetcher.cc
diff --git a/chrome/browser/alternate_nav_url_fetcher.cc b/chrome/browser/alternate_nav_url_fetcher.cc
index e3ea11c79449af51cf5b2173b8be05f81f68c160..5bf0af98aa84fb9b8cab4c0841d69db3b251b87d 100644
--- a/chrome/browser/alternate_nav_url_fetcher.cc
+++ b/chrome/browser/alternate_nav_url_fetcher.cc
@@ -197,7 +197,8 @@ void AlternateNavURLFetcher::StartFetch(NavigationController* controller) {
controller_->GetBrowserContext()->GetRequestContext());
content::WebContents* web_contents = controller_->GetWebContents();
- fetcher_->AssociateWithRenderView(
+ content::AssociateWithRenderView(
+ fetcher_.get(),
web_contents->GetURL(),
web_contents->GetRenderProcessHost()->GetID(),
web_contents->GetRenderViewHost()->GetRoutingID());
« no previous file with comments | « no previous file | chrome/browser/search_engines/template_url_fetcher.cc » ('j') | content/public/common/url_fetcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698