Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index 590ce6adc47c2e786ea021e03fd9684b02bc387e..c6ee255d53249f1d53dcc8701952e20e532ad295 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -550,7 +550,7 @@ def v8_conversion_type(idl_type, extended_attributes): |
return 'int' |
if base_idl_type in CPP_UNSIGNED_TYPES: |
return 'unsigned' |
- if base_idl_type in ('DOMString', 'ByteString'): |
+ if base_idl_type in ('DOMString', 'ByteString', 'ScalarValueString'): |
if 'TreatReturnedNullStringAs' not in extended_attributes: |
return base_idl_type |
treat_returned_null_string_as = extended_attributes['TreatReturnedNullStringAs'] |