summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/sync_ui_util.cc
diff options
context:
space:
mode:
authoralbertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 17:00:42 +0000
committeralbertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 17:00:42 +0000
commitfbfc2ecd20639aa3c97a5579b5f854ed6792cb49 (patch)
treebcf7ba566daf66d7e9a87c466d4b67986cbd34be /chrome/browser/sync/sync_ui_util.cc
parentd363e92064f4cef9f3fe4622623ae057723a3923 (diff)
downloadchromium_src-fbfc2ecd20639aa3c97a5579b5f854ed6792cb49.zip
chromium_src-fbfc2ecd20639aa3c97a5579b5f854ed6792cb49.tar.gz
chromium_src-fbfc2ecd20639aa3c97a5579b5f854ed6792cb49.tar.bz2
Set the options dialog as the parent window of the sync wizard when the
wizard is started from options. BUG=19776 TEST=manually tested Review URL: http://codereview.chromium.org/2976009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52689 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/sync_ui_util.cc')
-rw-r--r--chrome/browser/sync/sync_ui_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc
index ce8e4f9..4e2422f 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -189,7 +189,7 @@ void OpenSyncMyBookmarksDialog(
if (service->HasSyncSetupCompleted()) {
ShowOptionsWindow(OPTIONS_PAGE_CONTENT, OPTIONS_GROUP_NONE, profile);
} else {
- service->EnableForUser();
+ service->EnableForUser(NULL);
ProfileSyncService::SyncEvent(code);
}
}