summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/sync_setup_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/sync_setup_handler.cc')
-rw-r--r--chrome/browser/ui/webui/sync_setup_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc
index a7f3410..139c0f1 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -984,7 +984,7 @@ void SyncSetupHandler::OpenSyncSetup() {
return;
}
- if (signin->signin_global_error()->HasMenuItem()) {
+ if (SigninGlobalError::GetForProfile(GetProfile())->HasMenuItem()) {
// Login has been specially requested because previously working credentials
// have expired (case 3). Load the sync setup page with a spinner dialog,
// and then display the gaia auth page. The user may abandon re-auth by