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

Unified Diff: chrome/browser/google/google_url_tracker_infobar_delegate.cc

Issue 14241006: Eliminate InfoBarTabHelper. Make InfoBarService a concrete class. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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/google/google_url_tracker_infobar_delegate.cc
===================================================================
--- chrome/browser/google/google_url_tracker_infobar_delegate.cc (revision 195011)
+++ chrome/browser/google/google_url_tracker_infobar_delegate.cc (working copy)
@@ -48,7 +48,7 @@
content::Referrer(),
(disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition,
content::PAGE_TRANSITION_LINK, false);
- owner()->GetWebContents()->OpenURL(params);
+ owner()->web_contents()->OpenURL(params);
return false;
}
@@ -73,7 +73,7 @@
replacements.SetHost(host.data(), url_parse::Component(0, host.length()));
GURL new_search_url(search_url_.ReplaceComponents(replacements));
if (new_search_url.is_valid()) {
- owner()->GetWebContents()->OpenURL(content::OpenURLParams(
+ owner()->web_contents()->OpenURL(content::OpenURLParams(
new_search_url, content::Referrer(), CURRENT_TAB,
content::PAGE_TRANSITION_GENERATED, false));
}

Powered by Google App Engine
This is Rietveld 408576698