Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp |
index 87a95122c1063ff122bfca5722407abdc7e0809c..4d0a550fa2fb2390ec0f2913959b7e27016fd078 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp |
@@ -67,7 +67,7 @@ static void V8TestInterfaceNamedConstructor2ConstructorCallback(const v8::Functi |
toV8(document, info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToConstruct("TestInterfaceNamedConstructor2", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ throwArityTypeErrorForConstructor("TestInterfaceNamedConstructor2", 1, info.Length(), info.GetIsolate()); |
return; |
} |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]); |