| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| index 3536be6e24950551c864f544b26d8d1648e97f06..e791e9dc5bb0df198849b7d4d903e2d2063aed66 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| @@ -7,6 +7,7 @@
|
| #include "V8TestException.h"
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| +#include "bindings/core/v8/GeneratedCodeHelper.h"
|
| #include "bindings/core/v8/V8DOMConfiguration.h"
|
| #include "bindings/core/v8/V8ObjectConstructor.h"
|
| #include "core/dom/Document.h"
|
| @@ -86,7 +87,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestException", info.Holder(), info.GetIsolate());
|
| if (UNLIKELY(info.Length() < 1)) {
|
| - setMinimumArityTypeError(exceptionState, 1, info.Length());
|
| + exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| return;
|
| }
|
| unsigned argument;
|
|
|