Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp |
index 946b7ae8ffe0002226ad11b6d97171d2c9cb2a5f..bd25c96912d9b54e5dff234c12fd7c577fd2060e 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp |
@@ -7,6 +7,7 @@ |
#include "V8TestIntegerIndexed.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/GeneratedCodeHelper.h" |
#include "bindings/core/v8/V8DOMConfiguration.h" |
#include "bindings/core/v8/V8Document.h" |
#include "bindings/core/v8/V8Node.h" |
@@ -80,7 +81,7 @@ void lengthAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& in |
static void voidMethodDocumentMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- V8ThrowException::throwException(info.GetIsolate(), createMinimumArityTypeErrorForMethod(info.GetIsolate(), "voidMethodDocument", "TestIntegerIndexed", 1, info.Length())); |
+ V8ThrowException::throwException(info.GetIsolate(), V8ThrowException::createTypeError(info.GetIsolate(), ExceptionMessages::failedToExecute("voidMethodDocument", "TestIntegerIndexed", ExceptionMessages::notEnoughArguments(1, info.Length())))); |
return; |
} |
TestIntegerIndexed* impl = V8TestIntegerIndexed::toImpl(info.Holder()); |