Index: Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp b/Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp |
index 35c78c463bb6f2bf9478ad0e0f5680e75cf5bf4f..3d97c3afb776b6f96903e2a3ece37363cc78e632 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp |
@@ -47,7 +47,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
v8::Isolate* isolate = info.GetIsolate(); |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToConstruct("TestInterfaceConstructor3", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ throwArityTypeErrorForConstructor("TestInterfaceConstructor3", 1, info.Length(), info.GetIsolate()); |
return; |
} |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]); |