| Index: Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp b/Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp
|
| index 8d5760d199b4fac8f0ed79b4687c6b6b412bed61..c72603d4b9cd3dfcb25389abaab70883fb4c8cac 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp
|
| @@ -145,8 +145,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| return;
|
| }
|
| break;
|
| - }
|
| - if (UNLIKELY(info.Length() < 1)) {
|
| + default:
|
| exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| exceptionState.throwIfNeeded();
|
| return;
|
|
|