Index: base/strings/string_util.h |
diff --git a/base/strings/string_util.h b/base/strings/string_util.h |
index 1e2ac700e1004aae5b5eac736d43ab16e80ef664..5ab2ad5d5477f2a648aa081dda0ad2a5e859754d 100644 |
--- a/base/strings/string_util.h |
+++ b/base/strings/string_util.h |
@@ -248,7 +248,7 @@ BASE_EXPORT bool ContainsOnlyChars(const StringPiece16& input, |
// |
// IsStringASCII assumes the input is likely all ASCII, and does not leave early |
// if it is not the case. |
-BASE_EXPORT bool IsStringUTF8(const std::string& str); |
+BASE_EXPORT bool IsStringUTF8(const StringPiece& str); |
BASE_EXPORT bool IsStringASCII(const StringPiece& str); |
BASE_EXPORT bool IsStringASCII(const StringPiece16& str); |
// A convenience adaptor for WebStrings, as they don't convert into |