| Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| index 4c0861e5c757e42bed4c1191b60235eeb30896a7..f39bbba708db556bd91f54ce18a2330ea2c94dc0 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| @@ -92,8 +92,7 @@ static void V8TestInterfaceNamedConstructorConstructorCallback(const v8::Functio
|
|
|
| ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceNamedConstructor", info.Holder(), info.GetIsolate());
|
| if (UNLIKELY(info.Length() < 1)) {
|
| - exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| - exceptionState.throwIfNeeded();
|
| + throwArityTypeError(exceptionState, 1, info.Length());
|
| return;
|
| }
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]);
|
|
|