Index: Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp b/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp |
index c4a26673d1f785bcbe537fe53311c79c6894ce7d..c62845b16c67f440770f549cf9f264509fec89af 100644 |
--- a/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp |
+++ b/Source/bindings/core/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; |
- TOSTRING_DEFAULT(V8StringResource<WithNullCheck>, labelString, label, false); |
+ TOSTRING_DEFAULT(V8StringResource<TreatNullAsNullString>, 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()); |
- TOSTRING_DEFAULT(V8StringResource<WithNullCheck>, labelString, label, false); |
+ TOSTRING_DEFAULT(V8StringResource<TreatNullAsNullString>, labelString, label, false); |
ContextMenuItem menuItem((typeString == "checkbox" ? CheckableActionType : ActionType), typedId, labelString); |
if (checked->IsBoolean()) |
menuItem.setChecked(checked->ToBoolean()->Value()); |