Index: components/search_engines/template_url_parser.cc |
diff --git a/components/search_engines/template_url_parser.cc b/components/search_engines/template_url_parser.cc |
index aa0fd46eba223d94f1f47b8f1d4d98739e880f30..14298da11b6b5381db9598403584cf259bf2b487 100644 |
--- a/components/search_engines/template_url_parser.cc |
+++ b/components/search_engines/template_url_parser.cc |
@@ -291,7 +291,8 @@ void TemplateURLParsingContext::CharactersImpl(void* ctx, |
const xmlChar* ch, |
int len) { |
reinterpret_cast<TemplateURLParsingContext*>(ctx)->string_ += |
- base::UTF8ToUTF16(std::string(reinterpret_cast<const char*>(ch), len)); |
+ base::UTF8ToUTF16( |
+ base::StringPiece(reinterpret_cast<const char*>(ch), len)); |
} |
TemplateURL* TemplateURLParsingContext::GetTemplateURL( |