summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/first_run_dialog.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/first_run_dialog.mm')
-rw-r--r--chrome/browser/ui/cocoa/first_run_dialog.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/first_run_dialog.mm b/chrome/browser/ui/cocoa/first_run_dialog.mm
index 9458377..36c5788 100644
--- a/chrome/browser/ui/cocoa/first_run_dialog.mm
+++ b/chrome/browser/ui/cocoa/first_run_dialog.mm
@@ -151,8 +151,7 @@ void ShowFirstRunDialog(Profile* profile,
// If the default search is not managed via policy, ask the user to
// choose a default.
TemplateURLService* model = TemplateURLServiceFactory::GetForProfile(profile);
- if (!FirstRun::SearchEngineSelectorDisallowed() ||
- (model && !model->is_default_search_managed())) {
+ if (FirstRun::ShouldShowSearchEngineSelector(model)) {
ShowSearchEngineSelectionDialog(profile,
randomize_search_engine_experiment);
}