Index: chrome/browser/autocomplete/shortcuts_provider.cc |
diff --git a/chrome/browser/autocomplete/shortcuts_provider.cc b/chrome/browser/autocomplete/shortcuts_provider.cc |
index 42c58ab5cf873dd0bd51c802bad111c38c1115ee..7d5b02a027406bb089fc354482399e5bebe2da95 100644 |
--- a/chrome/browser/autocomplete/shortcuts_provider.cc |
+++ b/chrome/browser/autocomplete/shortcuts_provider.cc |
@@ -28,7 +28,6 @@ |
#include "chrome/browser/history/history_service_factory.h" |
#include "chrome/browser/omnibox/omnibox_field_trial.h" |
#include "chrome/browser/profiles/profile.h" |
-#include "chrome/browser/search_engines/template_url_service_factory.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "components/autocomplete/autocomplete_input.h" |
@@ -159,8 +158,7 @@ |
if (relevance) { |
matches_.push_back(ShortcutToACMatch(it->second, relevance, input, |
fixed_up_input, input_as_gurl)); |
- matches_.back().ComputeStrippedDestinationURL( |
- TemplateURLServiceFactory::GetForProfile(profile_)); |
+ matches_.back().ComputeStrippedDestinationURL(profile_); |
} |
} |
// Remove duplicates. Duplicates don't need to be preserved in the matches |