summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/app_controller_mac.mm')
-rw-r--r--chrome/browser/app_controller_mac.mm6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index e3ed47b..8895354 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -580,10 +580,8 @@ static bool g_is_opening_new_window = false;
}
case IDC_IMPORT_SETTINGS: {
UserMetrics::RecordAction("Import_ShowDlg", defaultProfile);
- // Note that this dialog controller cleans itself up when closed
- // so auto-scoping it here is not necessary.
- [[[ImportSettingsDialogController alloc]
- initWithProfile:defaultProfile parentWindow:nil] runModalDialog];
+ [ImportSettingsDialogController
+ showImportSettingsDialogForProfile:defaultProfile];
break;
}
case IDC_SHOW_BOOKMARK_MANAGER: