Index: Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp b/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp |
index 6657d8608da77d88e82bbd82097eaa1b9ddee7dd..89317e184692d896474c2473fdcdf1ae10ee6d0d 100644 |
--- a/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp |
+++ b/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp |
@@ -80,7 +80,7 @@ static bool populateContextMenuItems(v8::Local<v8::Array>& itemArray, ContextMen |
v8::Local<v8::Array> subItemsArray = v8::Local<v8::Array>::Cast(subItems); |
if (!populateContextMenuItems(subItemsArray, subMenu, isolate)) |
return false; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<WithNullCheck>, labelString, label, false); |
+ TOSTRING_BOOL_BOOL(V8StringResource<WithNullCheck>, labelString, label, false); |
ContextMenuItem item(SubmenuType, |
ContextMenuItemCustomTagNoAction, |
labelString, |
@@ -88,7 +88,7 @@ static bool populateContextMenuItems(v8::Local<v8::Array>& itemArray, ContextMen |
menu.appendItem(item); |
} else { |
ContextMenuAction typedId = static_cast<ContextMenuAction>(ContextMenuItemBaseCustomTag + id->ToInt32()->Value()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<WithNullCheck>, labelString, label, false); |
+ TOSTRING_BOOL_BOOL(V8StringResource<WithNullCheck>, labelString, label, false); |
ContextMenuItem menuItem((typeString == "checkbox" ? CheckableActionType : ActionType), typedId, labelString); |
if (checked->IsBoolean()) |
menuItem.setChecked(checked->ToBoolean()->Value()); |