Index: Source/bindings/scripts/v8_attributes.py |
diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py |
index a707289c392cd31562abd2e4b823c715aaba83f9..cfbdf60360e1eaa9830dbf960f4c298473799378 100644 |
--- a/Source/bindings/scripts/v8_attributes.py |
+++ b/Source/bindings/scripts/v8_attributes.py |
@@ -82,11 +82,6 @@ def attribute_context(interface, attribute): |
attribute.name == 'onerror'): |
includes.add('bindings/core/v8/V8ErrorHandler.h') |
- # Nullable type where the corresponding C++ type supports a null value. |
- is_nullable_simple = idl_type.is_nullable and ( |
- (idl_type.is_string_type or idl_type.is_wrapper_type) and |
- not idl_type.native_array_element_type) |
- |
context = { |
'access_control_list': access_control_list(attribute), |
'activity_logging_world_list_for_getter': v8_utilities.activity_logging_world_list(attribute, 'Getter'), # [ActivityLogging] |
@@ -119,7 +114,7 @@ def attribute_context(interface, attribute): |
'InitializedByEventConstructor' in extended_attributes, |
'is_keep_alive_for_gc': is_keep_alive_for_gc(interface, attribute), |
'is_nullable': idl_type.is_nullable, |
- 'is_nullable_simple': is_nullable_simple, |
+ 'is_nullable_simple': idl_type.is_nullable_simple, |
'is_partial_interface_member': |
'PartialInterfaceImplementedAs' in extended_attributes, |
'is_per_world_bindings': 'PerWorldBindings' in extended_attributes, |