Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp |
index 5180dfff57051c8648acf1a595193a09d29b407a..63252ef7caf341fe5187a0d47034778a66c23e34 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp |
@@ -7,6 +7,7 @@ |
#include "V8TestSpecialOperations.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/GeneratedCodeHelper.h" |
#include "bindings/core/v8/NodeOrNodeList.h" |
#include "bindings/core/v8/V8DOMConfiguration.h" |
#include "bindings/core/v8/V8Node.h" |
@@ -56,7 +57,7 @@ namespace TestSpecialOperationsV8Internal { |
static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- V8ThrowException::throwException(info.GetIsolate(), createMinimumArityTypeErrorForMethod(info.GetIsolate(), "namedItem", "TestSpecialOperations", 1, info.Length())); |
+ V8ThrowException::throwException(info.GetIsolate(), V8ThrowException::createTypeError(info.GetIsolate(), ExceptionMessages::failedToExecute("namedItem", "TestSpecialOperations", ExceptionMessages::notEnoughArguments(1, info.Length())))); |
return; |
} |
TestSpecialOperations* impl = V8TestSpecialOperations::toImpl(info.Holder()); |