| Index: third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| index 782e5bbab014739c75726871ec7dc193b38f4843..5a833d292f56c5040942c0ef5ccf3377acb5b141 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| @@ -134,8 +134,8 @@ void V8InjectedScriptHost::subtypeCallback(const v8::FunctionCallbackInfo<v8::Va
|
| info.GetReturnValue().Set(toV8StringInternalized(isolate, "promise"));
|
| return;
|
| }
|
| - String16 subtype = unwrapInspector(info)->client()->valueSubtype(value);
|
| - if (!subtype.isEmpty()) {
|
| + StringView subtype = unwrapInspector(info)->client()->valueSubtype(value);
|
| + if (subtype.length()) {
|
| info.GetReturnValue().Set(toV8String(isolate, subtype));
|
| return;
|
| }
|
|
|