Index: chrome/browser/ui/webui/sync_setup_handler.cc |
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc |
index c22383f6735551e9373abaf3c5805020d053aa7f..dc7bcb69671c7d2398a8bad2eb48d764938d738d 100644 |
--- a/chrome/browser/ui/webui/sync_setup_handler.cc |
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc |
@@ -636,15 +636,7 @@ void SyncSetupHandler::HandleShowErrorUI(const ListValue* args) { |
ProfileSyncService* service = profile->GetProfileSyncService(); |
DCHECK(service); |
- service->get_wizard().Step(SyncSetupWizard::NONFATAL_ERROR); |
- |
- // Show the Sync Setup page. |
- if (service->get_wizard().IsVisible()) { |
- service->get_wizard().Focus(); |
- } else { |
- StringValue page("syncSetup"); |
- web_ui_->CallJavascriptFunction("OptionsPage.navigateToPage", page); |
- } |
+ service->ShowErrorUI(); |
} |
void SyncSetupHandler::HandleShowSetupUI(const ListValue* args) { |