Index: third_party/WebKit/Source/bindings/modules/v8/V8ServiceWorkerMessageEventInternal.h |
diff --git a/third_party/WebKit/Source/bindings/modules/v8/V8ServiceWorkerMessageEventInternal.h b/third_party/WebKit/Source/bindings/modules/v8/V8ServiceWorkerMessageEventInternal.h |
index 2ea3087978690f5045f45268c5f01117a6eed72a..c6d08cfcb001ba8b1778c00c5b7ca074acda1c71 100644 |
--- a/third_party/WebKit/Source/bindings/modules/v8/V8ServiceWorkerMessageEventInternal.h |
+++ b/third_party/WebKit/Source/bindings/modules/v8/V8ServiceWorkerMessageEventInternal.h |
@@ -5,6 +5,7 @@ |
#ifndef V8ServiceWorkerMessageEventInternal_h |
#define V8ServiceWorkerMessageEventInternal_h |
+#include "bindings/core/v8/GeneratedCodeHelper.h" |
#include "bindings/core/v8/SerializedScriptValue.h" |
#include "bindings/core/v8/SerializedScriptValueFactory.h" |
#include "bindings/core/v8/V8PrivateProperty.h" |
@@ -25,7 +26,7 @@ void V8ServiceWorkerMessageEventInternal::constructorCustom(const v8::FunctionCa |
{ |
ExceptionState exceptionState(ExceptionState::ConstructionContext, V8TypeOf<EventType>::Type::wrapperTypeInfo.interfaceName, info.Holder(), info.GetIsolate()); |
if (UNLIKELY(info.Length() < 1)) { |
- setMinimumArityTypeError(exceptionState, 1, info.Length()); |
+ throwMinimumArityError(exceptionState, 1, info.Length()); |
return; |
} |