Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index 96fe1790e78f77a595885a6a8f46b1ba0caea40b..bcd2f85b60c608299a4ba03d25bc2cc026a3ea44 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -546,7 +546,10 @@ def v8_value_to_cpp_value(idl_type, extended_attributes, v8_value, variable_name |
elif 'Clamp' in extended_attributes: |
arguments = ', '.join([v8_value, 'Clamp', 'exceptionState']) |
elif idl_type.v8_conversion_needs_exception_state: |
- arguments = ', '.join([v8_value, 'exceptionState']) |
+ if idl_type.is_integer_type: |
Jens Widell
2015/03/17 11:28:22
The preceding two cases, EnforceRange and Clamp, a
|
+ arguments = ', '.join([v8_value, 'NormalConversion', 'exceptionState']) |
+ else: |
+ arguments = ', '.join([v8_value, 'exceptionState']) |
else: |
arguments = v8_value |
if base_idl_type in V8_VALUE_TO_CPP_VALUE: |