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

Unified Diff: chrome/browser/importer/firefox_importer_utils.cc

Issue 9968016: Move the URL string from TemplateURLRef onto the owning TemplateURL. This will make it easier to m… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/firefox_importer_utils.cc
===================================================================
--- chrome/browser/importer/firefox_importer_utils.cc (revision 129864)
+++ chrome/browser/importer/firefox_importer_utils.cc (working copy)
@@ -203,7 +203,7 @@
TemplateURL* template_url = TemplateURLParser::Parse(NULL, content.data(),
content.length(), &param_filter);
if (template_url) {
- std::string url = template_url->url()->url();
+ std::string url(template_url->url());
sky 2012/03/30 16:45:14 const std::string&
SearchEnginesMap::iterator iter = search_engine_for_url.find(url);
if (iter == search_engine_for_url.end()) {
iter = search_engine_for_url.insert(

Powered by Google App Engine
This is Rietveld 408576698