| 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 9eab24c7c12c711653febdf7f7a77677a5f864c3..17e682f3cd1f98fd88cd6718f1b58de0b200031e 100644
|
| --- a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc
|
| +++ b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc
|
| @@ -21,6 +21,7 @@
|
| #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,5 +182,6 @@ void OmniboxUIHandler::StartOmniboxQuery(const mojo::String& input_string,
|
|
|
| void OmniboxUIHandler::ResetController() {
|
| controller_.reset(new AutocompleteController(profile_, this,
|
| - AutocompleteClassifier::kDefaultOmniboxProviders));
|
| + AutocompleteClassifier::kDefaultOmniboxProviders,
|
| + TemplateURLServiceFactory::GetForProfile(profile_)));
|
| }
|
|
|