| Index: components/ui_devtools/string_util.cc
|
| diff --git a/components/ui_devtools/string_util.cc b/components/ui_devtools/string_util.cc
|
| index 004d8022b9a6a7e58b79d16a9c94c5b7a8824ab6..0b936a38cf25295584dfe5de91edded670d54014 100644
|
| --- a/components/ui_devtools/string_util.cc
|
| +++ b/components/ui_devtools/string_util.cc
|
| @@ -11,11 +11,12 @@ namespace ui {
|
| namespace devtools {
|
| namespace protocol {
|
|
|
| -std::unique_ptr<Value> parseJSON(const String& string) {
|
| +// static
|
| +std::unique_ptr<Value> StringUtil::parseJSON(const String& string) {
|
| DCHECK(base::IsStringUTF8(string));
|
| // TODO(mhashmi): 16-bit strings need to be handled
|
| - return parseJSON(reinterpret_cast<const uint8_t*>(&string[0]),
|
| - string.length());
|
| + return parseJSONCharacters(reinterpret_cast<const uint8_t*>(&string[0]),
|
| + string.length());
|
| };
|
|
|
| } // namespace protocol
|
|
|