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

Unified Diff: chrome/browser/search_engines/template_url_parser.cc

Issue 338363004: Remove Profile* from TemplateURL (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/search_engines/template_url_parser.cc
diff --git a/chrome/browser/search_engines/template_url_parser.cc b/chrome/browser/search_engines/template_url_parser.cc
index a0ae0378c68fb40e509e8de349164ce02e712f4e..aad9c668b0188140ae4e5e3a91416681fd064f07 100644
--- a/chrome/browser/search_engines/template_url_parser.cc
+++ b/chrome/browser/search_engines/template_url_parser.cc
@@ -303,7 +303,7 @@ TemplateURL* TemplateURLParsingContext::GetTemplateURL(
data_.show_in_default_list = show_in_default_list;
// Bail if the search URL is empty or if either TemplateURLRef is invalid.
- scoped_ptr<TemplateURL> template_url(new TemplateURL(profile, data_));
+ scoped_ptr<TemplateURL> template_url(new TemplateURL(data_));
scoped_ptr<SearchTermsData> search_terms_data(profile ?
new UIThreadSearchTermsData(profile) : new SearchTermsData());
if (template_url->url().empty() ||

Powered by Google App Engine
This is Rietveld 408576698