Index: third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp |
index 700624912da1cb2709675c81d19a669d2c7129ff..fc9ed5ab21de4b82095e56fef146a637b66007d8 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp |
@@ -60,7 +60,7 @@ void V8CustomEvent::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& |
{ |
ExceptionState exceptionState(ExceptionState::ConstructionContext, "CustomEvent", info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 1)) { |
- setMinimumArityTypeError(exceptionState, 1, info.Length()); |
+ throwMinimumArityError(exceptionState, 1, info.Length()); |
return; |
} |