Index: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp |
index 01c2970c88321f3172e3ca10d720da9978062681..9255c67259c7f256353b15c307549e2ec779756a 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp |
@@ -7,6 +7,7 @@ |
#include "V8TestInterfacePartial.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/GeneratedCodeHelper.h" |
#include "bindings/core/v8/PrivateScriptRunner.h" |
#include "bindings/core/v8/ScriptPromise.h" |
#include "bindings/core/v8/ScriptState.h" |
@@ -271,7 +272,7 @@ static void partialVoidTestEnumModulesArgMethodMethod(const v8::FunctionCallback |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "partialVoidTestEnumModulesArgMethod", "TestInterface", info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 1)) { |
- setMinimumArityTypeError(exceptionState, 1, info.Length()); |
+ exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length())); |
return; |
} |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |