Index: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
index ad142a401598ce3b57b0580006ef718f0af8b03d..9eab24c7c12c711653febdf7f7a77677a5f864c3 100644 |
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc |
@@ -21,7 +21,6 @@ |
#include "chrome/browser/history/history_service.h" |
#include "chrome/browser/history/history_service_factory.h" |
#include "chrome/browser/search/search.h" |
-#include "chrome/browser/search_engines/template_url_service_factory.h" |
#include "components/history/core/browser/url_database.h" |
#include "components/metrics/proto/omnibox_event.pb.h" |
#include "components/search_engines/template_url.h" |
@@ -181,8 +180,6 @@ |
} |
void OmniboxUIHandler::ResetController() { |
- controller_.reset(new AutocompleteController(profile_, |
- TemplateURLServiceFactory::GetForProfile(profile_), |
- this, |
+ controller_.reset(new AutocompleteController(profile_, this, |
AutocompleteClassifier::kDefaultOmniboxProviders)); |
} |