Index: Source/bindings/tests/results/V8TestSpecialOperations.cpp |
diff --git a/Source/bindings/tests/results/V8TestSpecialOperations.cpp b/Source/bindings/tests/results/V8TestSpecialOperations.cpp |
index fde0cfbab7fb6c35335696a18874cf00fe4f26c9..ea1609a07157a1bce02e02749c3dd13d1fd6cf5e 100644 |
--- a/Source/bindings/tests/results/V8TestSpecialOperations.cpp |
+++ b/Source/bindings/tests/results/V8TestSpecialOperations.cpp |
@@ -47,7 +47,7 @@ template <typename T> void V8_USE(T) { } |
static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToExecute("namedItem", "TestSpecialOperations", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ throwArityTypeErrorForMethod("namedItem", "TestSpecialOperations", 1, info.Length(), info.GetIsolate()); |
return; |
} |
TestSpecialOperations* impl = V8TestSpecialOperations::toNative(info.Holder()); |