Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index 27ef87e8000f25b536e3bbec4c32260b336da538..fbb383859ed6d5e0c1b94d953108d455128daf25 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -934,7 +934,8 @@ def cpp_type_has_null_value(idl_type): |
# - 'Object' type. We use ScriptValue for object type. |
return (idl_type.is_string_type or idl_type.is_interface_type or |
idl_type.is_enum or idl_type.is_union_type |
- or idl_type.base_type == 'object') |
+ or idl_type.base_type == 'object' |
+ or idl_type.is_callback_function or idl_type.is_callback_interface) |
IdlTypeBase.cpp_type_has_null_value = property(cpp_type_has_null_value) |