Index: Source/bindings/scripts/unstable/v8_types.py |
diff --git a/Source/bindings/scripts/unstable/v8_types.py b/Source/bindings/scripts/unstable/v8_types.py |
index 131b804ce9e7c792218028e3314687d19c046e8d..eb8fc2d94bd2636ffafd8b0dbd3662759848983c 100644 |
--- a/Source/bindings/scripts/unstable/v8_types.py |
+++ b/Source/bindings/scripts/unstable/v8_types.py |
@@ -377,7 +377,7 @@ def v8_value_to_cpp_value(idl_type, extended_attributes, v8_value, index): |
add_includes_for_type(idl_type) |
if 'EnforceRange' in extended_attributes: |
- arguments = ', '.join([v8_value, 'EnforceRange', 'ok']) |
+ arguments = ', '.join([v8_value, 'EnforceRange', 'exceptionState']) |
else: # NormalConversion |
arguments = v8_value |
@@ -422,7 +422,7 @@ def v8_value_to_local_cpp_value(idl_type, extended_attributes, v8_value, variabl |
if idl_type == 'DOMString': |
format_string = 'V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID({cpp_type}, {variable_name}, {cpp_value})' |
elif 'EnforceRange' in extended_attributes: |
- format_string = 'V8TRYCATCH_WITH_TYPECHECK_VOID({cpp_type}, {variable_name}, {cpp_value}, info.GetIsolate())' |
+ format_string = 'V8TRYCATCH_EXCEPTION_VOID({cpp_type}, {variable_name}, {cpp_value}, exceptionState)' |
else: |
format_string = 'V8TRYCATCH_VOID({cpp_type}, {variable_name}, {cpp_value})' |