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

Unified Diff: chrome/browser/first_run/first_run.cc

Issue 10551002: TabContentsWrapper -> TabContents, part 56. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Not killing GetSelectedWebContents yet Created 8 years, 6 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/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index 91ebc1a581dd75ee3aa728f6a0db39944d5e057a..d38463871d87d70741f70923c637358f9165fb1e 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -513,7 +513,7 @@ void FirstRunBubbleLauncher::Observe(
return;
}
- content::WebContents* contents = browser->GetSelectedWebContents();
+ content::WebContents* contents = browser->GetActiveWebContents();
if (contents && contents->GetURL().SchemeIs(chrome::kChromeUIScheme)) {
// Suppress the first run bubble if the sync promo is showing.
if (contents->GetURL().host() == chrome::kChromeUISyncPromoHost)
« no previous file with comments | « chrome/browser/extensions/extension_install_ui_android.h ('k') | chrome/browser/net/load_timing_observer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698