| Index: Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp b/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
|
| index 070963e87e62fc1baaea0670d03846e74983d2e4..04b46fbacb2d34424bff36e197c5ad690502d272 100644
|
| --- a/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
|
| @@ -74,7 +74,7 @@ static void populateContextMenuItems(v8::Local<v8::Array>& itemArray, ContextMen
|
| v8::Local<v8::Value> subItems = item->Get(v8::String::NewSymbol("subItems"));
|
| if (!type->IsString())
|
| continue;
|
| - String typeString = toWebCoreStringWithNullCheck(type);
|
| + String typeString = toWebCoreStringWithNullCheck(type.As<v8::String>());
|
| if (typeString == "separator") {
|
| ContextMenuItem item(ContextMenuItem(SeparatorType,
|
| ContextMenuItemCustomTagNoAction,
|
|
|