Index: chrome/browser/ui/omnibox/omnibox_controller.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_controller.cc b/chrome/browser/ui/omnibox/omnibox_controller.cc |
index 0917ebba6bc24dabc9d8e594509d10ba967444e0..7c639887c1a84aeef93681ba4988cc9d7baf6d95 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_controller.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_controller.cc |
@@ -15,6 +15,7 @@ |
#include "chrome/browser/prerender/prerender_manager_factory.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/search/search.h" |
+#include "chrome/browser/search_engines/template_url_service_factory.h" |
#include "chrome/browser/ui/omnibox/omnibox_edit_controller.h" |
#include "chrome/browser/ui/omnibox/omnibox_edit_model.h" |
#include "chrome/browser/ui/omnibox/omnibox_popup_model.h" |
@@ -73,7 +74,8 @@ OmniboxController::OmniboxController(OmniboxEditModel* omnibox_edit_model, |
: omnibox_edit_model_(omnibox_edit_model), |
profile_(profile), |
popup_(NULL), |
- autocomplete_controller_(new AutocompleteController(profile, this, |
+ autocomplete_controller_(new AutocompleteController(profile, |
+ TemplateURLServiceFactory::GetForProfile(profile), this, |
AutocompleteClassifier::kDefaultOmniboxProviders)) { |
} |