Chromium Code Reviews| 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(), ¶m_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( |