Index: Source/bindings/tests/results/V8TestInterface.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterface.cpp b/Source/bindings/tests/results/V8TestInterface.cpp |
index a61d58d5f7a0b5f98fae99e0019938f5ab179e37..c89d26209e80539e661b35e7713ec433c5c945b2 100644 |
--- a/Source/bindings/tests/results/V8TestInterface.cpp |
+++ b/Source/bindings/tests/results/V8TestInterface.cpp |
@@ -560,7 +560,7 @@ static void implementsMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& i |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "implementsMethod2", "TestInterface", info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 2)) { |
- throwTypeError(ExceptionMessages::failedToExecute("implementsMethod2", "TestInterface", ExceptionMessages::notEnoughArguments(2, info.Length())), info.GetIsolate()); |
+ exceptionState.notEnoughArguments(2, info.Length()); |
return; |
} |
TestInterface* imp = V8TestInterface::toNative(info.Holder()); |
@@ -621,7 +621,7 @@ static void supplementalMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "supplementalMethod2", "TestInterface", info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 2)) { |
- throwTypeError(ExceptionMessages::failedToExecute("supplementalMethod2", "TestInterface", ExceptionMessages::notEnoughArguments(2, info.Length())), info.GetIsolate()); |
+ exceptionState.notEnoughArguments(2, info.Length()); |
return; |
} |
TestInterface* imp = V8TestInterface::toNative(info.Holder()); |