Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: chrome/browser/autocomplete/autocomplete_classifier_factory.cc

Issue 363893002: Revert of Reduces dependency from AutocompleteMatch to Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autocomplete/autocomplete_classifier_factory.cc
diff --git a/chrome/browser/autocomplete/autocomplete_classifier_factory.cc b/chrome/browser/autocomplete/autocomplete_classifier_factory.cc
index aae29a74561e7f2fcbb34926cbf29cadd8647d85..1d5972bd3e058bd445d9a511b3457c63ea023bac 100644
--- a/chrome/browser/autocomplete/autocomplete_classifier_factory.cc
+++ b/chrome/browser/autocomplete/autocomplete_classifier_factory.cc
@@ -33,8 +33,7 @@
Profile* profile = static_cast<Profile*>(context);
return new AutocompleteClassifier(
make_scoped_ptr(new AutocompleteController(
- profile, TemplateURLServiceFactory::GetForProfile(profile), NULL,
- AutocompleteClassifier::kDefaultOmniboxProviders)),
+ profile, NULL, AutocompleteClassifier::kDefaultOmniboxProviders)),
scoped_ptr<AutocompleteSchemeClassifier>(
new ChromeAutocompleteSchemeClassifier(profile)));
}

Powered by Google App Engine
This is Rietveld 408576698