| Index: Source/bindings/scripts/v8_types.py
|
| diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py
|
| index d225d5b1d570cd7a6820d98558c48639db4b8462..9630d71ecc864d91d765d02e7d8336c34e4e7976 100644
|
| --- a/Source/bindings/scripts/v8_types.py
|
| +++ b/Source/bindings/scripts/v8_types.py
|
| @@ -137,6 +137,8 @@ def cpp_type(idl_type, extended_attributes=None, raw_type=False, used_as_argumen
|
| bool, True if the C++ type is used as an element of an array or sequence.
|
| """
|
| def string_mode():
|
| + if idl_type.is_nullable:
|
| + return 'WithNullCheck'
|
| # FIXME: the Web IDL spec requires 'EmptyString', not 'NullString',
|
| # but we use NullString for performance.
|
| if extended_attributes.get('TreatNullAs') != 'NullString':
|
|
|