summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/options/content_page_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/options/content_page_gtk.cc')
-rw-r--r--chrome/browser/gtk/options/content_page_gtk.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc
index fa34529..4d86fbd 100644
--- a/chrome/browser/gtk/options/content_page_gtk.cc
+++ b/chrome/browser/gtk/options/content_page_gtk.cc
@@ -573,7 +573,7 @@ void ContentPageGtk::OnSyncStartStopButtonClicked(GtkWidget* widget) {
gtk_util::ShowDialog(dialog);
return;
} else {
- sync_service_->EnableForUser();
+ sync_service_->EnableForUser(NULL);
ProfileSyncService::SyncEvent(ProfileSyncService::START_FROM_OPTIONS);
}
}
@@ -582,12 +582,12 @@ void ContentPageGtk::OnSyncCustomizeButtonClicked(GtkWidget* widget) {
// sync_customize_button_ should be invisible if sync is not yet set up.
DCHECK(sync_service_ && !sync_service_->IsManaged() &&
sync_service_->HasSyncSetupCompleted());
- sync_service_->ShowChooseDataTypes();
+ sync_service_->ShowChooseDataTypes(NULL);
}
void ContentPageGtk::OnSyncActionLinkClicked(GtkWidget* widget) {
DCHECK(sync_service_ && !sync_service_->IsManaged());
- sync_service_->ShowLoginDialog();
+ sync_service_->ShowChooseDataTypes(NULL);
}
void ContentPageGtk::OnStopSyncDialogResponse(GtkWidget* widget, int response) {