Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index 862b2a04d8388a46a10c8a114f20c6b16f3ea2f8..0dda631df575ff82a491b77def60e94501aff2df 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -420,14 +420,14 @@ def v8_value_to_local_cpp_value(idl_type, extended_attributes, v8_value, variabl |
cpp_value = v8_value_to_cpp_value(idl_type, extended_attributes, v8_value, index) |
args = [this_cpp_type, variable_name, cpp_value] |
if idl_type.base_type == 'DOMString' and not idl_type.array_or_sequence_type: |
- v8trycatch_void = 'V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID' |
+ macro = 'V8STRINGRESOURCE_PREPARE_VOID' |
elif idl_type.is_integer_type: |
- v8trycatch_void = 'V8TRYCATCH_EXCEPTION_VOID' |
+ macro = 'V8TRYCATCH_VOID_EXCEPTION' |
args.append('exceptionState') |
else: |
- v8trycatch_void = 'V8TRYCATCH_VOID' |
+ macro = 'V8TRYCATCH_VOID' |
- return '%s(%s)' % (v8trycatch_void, ', '.join(args)) |
+ return '%s(%s)' % (macro, ', '.join(args)) |
IdlType.v8_value_to_local_cpp_value = v8_value_to_local_cpp_value |
IdlUnionType.v8_value_to_local_cpp_value = v8_value_to_local_cpp_value |