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 d89e76bc1a885bca839be11427fc51a036212e10..ee7d583d66f39f3215a253656bbbd7baae6f6449 100644 |
--- a/chrome/browser/first_run/first_run.cc |
+++ b/chrome/browser/first_run/first_run.cc |
@@ -41,6 +41,7 @@ |
#include "chrome/browser/signin/signin_tracker.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_finder.h" |
+#include "chrome/browser/ui/chrome_pages.h" |
#include "chrome/browser/ui/global_error/global_error_service.h" |
#include "chrome/browser/ui/global_error/global_error_service_factory.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
@@ -361,8 +362,8 @@ void FirstRunBubbleLauncher::Observe( |
chrome::kChromeUIChromeSigninURL || |
gaia::IsGaiaSignonRealm(contents->GetURL().GetOrigin()) || |
signin::IsContinueUrlForWebBasedSigninFlow(contents->GetURL()) || |
- contents->GetURL() == GURL(std::string(chrome::kChromeUISettingsURL) + |
- chrome::kSyncSetupSubPage))) { |
+ (contents->GetURL() == |
+ chrome::GetSettingsUrl(chrome::kSyncSetupSubPage)))) { |
return; |
} |