Chromium Code Reviews| Index: third_party/WebKit/Source/platform/v8_inspector/public/V8ToProtocolValue.cpp |
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8ToProtocolValue.cpp b/third_party/WebKit/Source/platform/v8_inspector/public/V8ToProtocolValue.cpp |
| index 4bd0b37f228e5f4b0493c809620a249273394113..858ef39272fc827c2b7a3f020cf7913c67656db5 100644 |
| --- a/third_party/WebKit/Source/platform/v8_inspector/public/V8ToProtocolValue.cpp |
| +++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8ToProtocolValue.cpp |
| @@ -6,11 +6,11 @@ |
| namespace blink { |
| -static String coreString(v8::Local<v8::String> v8String) |
| +static String16 coreString(v8::Local<v8::String> v8String) |
|
dgozman
2016/03/08 01:35:12
rename method
|
| { |
| int length = v8String->Length(); |
| UChar* buffer; |
| - String result = String::createUninitialized(length, buffer); |
| + String16 result = String16::createUninitialized(length, buffer); |
| v8String->Write(reinterpret_cast<uint16_t*>(buffer), 0, length); |
| return result; |
| } |