| Index: chrome/browser/ui/webui/options/options_sync_setup_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/options_sync_setup_handler.cc b/chrome/browser/ui/webui/options/options_sync_setup_handler.cc
|
| index caaa0537fc3c45544e46b54c7f6dc63ad57c6571..4a428961ab556cc93ecf1e71ec4deff50544c391 100644
|
| --- a/chrome/browser/ui/webui/options/options_sync_setup_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/options_sync_setup_handler.cc
|
| @@ -9,7 +9,7 @@
|
|
|
| void OptionsSyncSetupHandler::ShowSetupUI() {
|
| ProfileSyncService* service =
|
| - web_ui_->GetProfile()->GetProfileSyncService();
|
| + Profile::FromWebUI(web_ui_)->GetProfileSyncService();
|
| DCHECK(service);
|
|
|
| // If the wizard is already visible, focus it.
|
|
|