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

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

Issue 338363004: Remove Profile* from TemplateURL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments 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/search_provider_install_data_unittest.cc
diff --git a/chrome/browser/search_engines/search_provider_install_data_unittest.cc b/chrome/browser/search_engines/search_provider_install_data_unittest.cc
index c21930ccfe50c7b549cf1946c3895e23297a7af5..2c4b7ca8d23a88c19bf16e8905947818650a3a2a 100644
--- a/chrome/browser/search_engines/search_provider_install_data_unittest.cc
+++ b/chrome/browser/search_engines/search_provider_install_data_unittest.cc
@@ -178,7 +178,7 @@ TemplateURL* SearchProviderInstallDataTest::AddNewTemplateURL(
data.short_name = keyword;
data.SetKeyword(keyword);
data.SetURL(url);
- TemplateURL* t_url = new TemplateURL(util_.profile(), data);
+ TemplateURL* t_url = new TemplateURL(data);
util_.model()->Add(t_url);
return t_url;
}
« no previous file with comments | « chrome/browser/search_engines/search_provider_install_data.cc ('k') | chrome/browser/search_engines/template_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698