Index: base/utf_string_conversions.cc |
diff --git a/base/utf_string_conversions.cc b/base/utf_string_conversions.cc |
index 41a70db9283151f48d957bd6ba0b9233d624f8be..a7802dbcd366dc794fddc19e664570aed2d65416 100644 |
--- a/base/utf_string_conversions.cc |
+++ b/base/utf_string_conversions.cc |
@@ -133,7 +133,7 @@ bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { |
return ConvertUnicode(src, src_len, output); |
} |
-string16 UTF8ToUTF16(const std::string& utf8) { |
+string16 UTF8ToUTF16(const base::StringPiece& utf8) { |
string16 ret; |
// Ignore the success flag of this call, it will do the best it can for |
// invalid input, which is what we want here. |