Index: third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp b/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp |
index f5164a95a1cb8b8a9bc6c14b879d15db926d41cf..7eed4d0bf11781e55fca5e304da45e210f8dca1c 100644 |
--- a/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp |
@@ -6,6 +6,7 @@ |
#include "bindings/core/v8/ExceptionMessages.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/GeneratedCodeHelper.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8DOMWrapper.h" |
#include "bindings/modules/v8/V8IDBObserverCallback.h" |
@@ -16,7 +17,7 @@ namespace blink { |
void V8IDBObserver::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- V8ThrowException::throwException(info.GetIsolate(), createMinimumArityTypeErrorForConstructor(info.GetIsolate(), "IDBObserver", 1, info.Length())); |
+ throwMinimumArityErrorForConstructor(info.GetIsolate(), "IDBObserver", 1, info.Length()); |
return; |
} |