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

Unified Diff: chrome/browser/importer/in_process_importer_bridge.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/importer/in_process_importer_bridge.cc
diff --git a/chrome/browser/importer/in_process_importer_bridge.cc b/chrome/browser/importer/in_process_importer_bridge.cc
index 1ae40985331d87c04254a5e82e66a93729139910..8ab3c0956ad68772ceb0af96550104443b3cf061 100644
--- a/chrome/browser/importer/in_process_importer_bridge.cc
+++ b/chrome/browser/importer/in_process_importer_bridge.cc
@@ -107,7 +107,7 @@ TemplateURL* CreateTemplateURL(const base::string16& title,
data.short_name = title.empty() ? keyword : title;
data.SetURL(
TemplateURLRef::DisplayURLToURLRef(base::UTF8ToUTF16(url.spec())));
- return new TemplateURL(NULL, data);
+ return new TemplateURL(data);
}
// Parses the OpenSearch XML files in |xml_files| and populates |search_engines|
« no previous file with comments | « chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc ('k') | chrome/browser/importer/profile_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698