Index: Source/bindings/tests/results/V8TestTypedefs.cpp |
diff --git a/Source/bindings/tests/results/V8TestTypedefs.cpp b/Source/bindings/tests/results/V8TestTypedefs.cpp |
index c9c7932226707911992959fd7c9de4c17206534f..91c28c30822839188f22f4d06c315f3489526139 100644 |
--- a/Source/bindings/tests/results/V8TestTypedefs.cpp |
+++ b/Source/bindings/tests/results/V8TestTypedefs.cpp |
@@ -375,7 +375,7 @@ static void stringArrayFunctionMethod(const v8::FunctionCallbackInfo<v8::Value>& |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "stringArrayFunction", "TestTypedefs", info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToExecute("stringArrayFunction", "TestTypedefs", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ exceptionState.notEnoughArguments(1, info.Length()); |
return; |
} |
TestTypedefs* imp = V8TestTypedefs::toNative(info.Holder()); |
@@ -397,7 +397,7 @@ static void stringArrayFunction2Method(const v8::FunctionCallbackInfo<v8::Value> |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "stringArrayFunction2", "TestTypedefs", info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToExecute("stringArrayFunction2", "TestTypedefs", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ exceptionState.notEnoughArguments(1, info.Length()); |
return; |
} |
TestTypedefs* imp = V8TestTypedefs::toNative(info.Holder()); |