| Index: Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp b/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
|
| index 6b1b38dd2be1c48351805453fa8d59a311120837..394524b9719ff09ed07593c4095059fd7f2d46ae 100644
|
| --- a/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
|
| @@ -88,7 +88,8 @@ static bool populateContextMenuItems(v8::Local<v8::Array>& itemArray, ContextMen
|
| menu.appendItem(item);
|
| } else {
|
| ContextMenuAction typedId = static_cast<ContextMenuAction>(ContextMenuItemBaseCustomTag + id->ToInt32()->Value());
|
| - ContextMenuItem menuItem((typeString == "checkbox" ? CheckableActionType : ActionType), typedId, toWebCoreStringWithNullCheck(label));
|
| + V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<WithNullCheck>, labelString, label, false);
|
| + ContextMenuItem menuItem((typeString == "checkbox" ? CheckableActionType : ActionType), typedId, labelString);
|
| if (checked->IsBoolean())
|
| menuItem.setChecked(checked->ToBoolean()->Value());
|
| if (enabled->IsBoolean())
|
|
|