Index: chrome/browser/ui/gtk/first_run_dialog.cc |
=================================================================== |
--- chrome/browser/ui/gtk/first_run_dialog.cc (revision 84102) |
+++ chrome/browser/ui/gtk/first_run_dialog.cc (working copy) |
@@ -106,7 +106,9 @@ |
// Figure out which dialogs we will show. |
// If the default search is managed via policy, we won't ask. |
const TemplateURLModel* search_engines_model = profile->GetTemplateURLModel(); |
- bool show_search_engines_dialog = search_engines_model && |
+ bool show_search_engines_dialog = |
+ !FirstRun::SearchEngineSelectorRestricted() && |
+ search_engines_model && |
!search_engines_model->is_default_search_managed(); |
#if defined(GOOGLE_CHROME_BUILD) |