Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp |
index 0e24a3c1fb5a36a07888ab393e5b5a485bd3360f..a3e92ddb1e6f45106ca0a936d1efb6323317be0e 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp |
@@ -96,11 +96,11 @@ static void V8TestInterfaceNamedConstructorConstructorCallback(const v8::Functio |
throwArityTypeError(exceptionState, 1, info.Length()); |
return; |
} |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, stringArg, info[0]); |
V8TRYCATCH_VOID(bool, defaultUndefinedOptionalBooleanArg, info[1]->BooleanValue()); |
- V8TRYCATCH_EXCEPTION_VOID(int, defaultUndefinedOptionalLongArg, toInt32(info[2], exceptionState), exceptionState); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, defaultUndefinedOptionalStringArg, info[3]); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, defaultNullStringOptionalstringArg, argumentOrNull(info, 4)); |
+ V8TRYCATCH_VOID_EXCEPTION(int, defaultUndefinedOptionalLongArg, toInt32(info[2], exceptionState), exceptionState); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, defaultUndefinedOptionalStringArg, info[3]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, defaultNullStringOptionalstringArg, argumentOrNull(info, 4)); |
if (UNLIKELY(info.Length() <= 5)) { |
RefPtr<TestInterfaceNamedConstructor> impl = TestInterfaceNamedConstructor::createForJSConstructor(stringArg, defaultUndefinedOptionalBooleanArg, defaultUndefinedOptionalLongArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalstringArg); |
v8::Handle<v8::Object> wrapper = info.Holder(); |
@@ -108,7 +108,7 @@ static void V8TestInterfaceNamedConstructorConstructorCallback(const v8::Functio |
v8SetReturnValue(info, wrapper); |
return; |
} |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, optionalStringArg, info[5]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, optionalStringArg, info[5]); |
RefPtr<TestInterfaceNamedConstructor> impl = TestInterfaceNamedConstructor::createForJSConstructor(*document, stringArg, defaultUndefinedOptionalBooleanArg, defaultUndefinedOptionalLongArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalstringArg, optionalStringArg, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |