| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 9469c4b6dbd88261eb89e1e8b039fe23fa6a685b..3b7cb6882724707e88f2d89d6cb19bc547b096ce 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -4792,9 +4792,10 @@ void Browser::UpdateBookmarkBarState(BookmarkBarStateChangeReason reason) {
|
| }
|
|
|
| void Browser::ShowSyncSetup() {
|
| - ProfileSyncService* service = profile()->GetProfileSyncService();
|
| + ProfileSyncService* service =
|
| + profile()->GetOriginalProfile()->GetProfileSyncService();
|
| if (service->HasSyncSetupCompleted())
|
| ShowOptionsTab(chrome::kSyncSetupSubPage);
|
| else
|
| - profile()->GetProfileSyncService()->ShowLoginDialog();
|
| + service->ShowLoginDialog();
|
| }
|
|
|