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

Unified Diff: chrome/browser/alternate_nav_url_fetcher.cc

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR Created 8 years, 4 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
« no previous file with comments | « chrome/browser/accessibility/accessibility_extension_api.cc ('k') | chrome/browser/api/infobars/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9ad01afea17aa08ff34ed5def45d50f8fac0d441..e45e8c6739b118575190ed02ebe7c2b4bacdf434 100644
--- a/chrome/browser/alternate_nav_url_fetcher.cc
+++ b/chrome/browser/alternate_nav_url_fetcher.cc
@@ -89,7 +89,7 @@ bool AlternateNavInfoBarDelegate::LinkClicked(
// the future.
content::PAGE_TRANSITION_TYPED,
false);
- owner()->web_contents()->OpenURL(params);
+ owner()->GetWebContents()->OpenURL(params);
// We should always close, even if the navigation did not occur within this
// WebContents.
« no previous file with comments | « chrome/browser/accessibility/accessibility_extension_api.cc ('k') | chrome/browser/api/infobars/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698