| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index cfc396e0453c38130633ab23d54a35470fe3f8b1..54ac291b6f79653144450d16218a58e7203a2a02 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -5470,8 +5470,9 @@ void Browser::OnWindowDidShow() {
|
|
|
| // Suppress the first run bubble if we're showing the sync promo.
|
| TabContents* contents = GetSelectedTabContents();
|
| - bool is_showing_promo =
|
| - contents && contents->GetURL() == GURL(chrome::kChromeUISyncPromoURL);
|
| + bool is_showing_promo = contents &&
|
| + contents->GetURL().SchemeIs(chrome::kChromeUIScheme) &&
|
| + contents->GetURL().host() == chrome::kChromeUISyncPromoHost;
|
|
|
| // Show the First Run information bubble if we've been told to.
|
| PrefService* local_state = g_browser_process->local_state();
|
|
|