| Index: base/i18n/streaming_utf8_validator_perftest.cc
|
| diff --git a/base/i18n/streaming_utf8_validator_perftest.cc b/base/i18n/streaming_utf8_validator_perftest.cc
|
| index ac2eb0820bac01a3a172fb89236d92a9763562e9..a2ce2420c05e02be3d529f4f178a2c227b8d429c 100644
|
| --- a/base/i18n/streaming_utf8_validator_perftest.cc
|
| +++ b/base/i18n/streaming_utf8_validator_perftest.cc
|
| @@ -56,6 +56,10 @@ bool IsString7Bit(const std::string& s) {
|
| return true;
|
| }
|
|
|
| +bool IsStringUTF8(const std::string& s) {
|
| + return base::IsStringUTF8(s);
|
| +}
|
| +
|
| // Assumes that |previous| is a valid UTF-8 sequence, and attempts to return
|
| // the next one. Is just barely smart enough to iterate through the ranges
|
| // defined about.
|
|
|