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() || |