Index: Source/core/events/PromiseRejectionEvent.h |
diff --git a/Source/core/events/PromiseRejectionEvent.h b/Source/core/events/PromiseRejectionEvent.h |
index c71f5dbe04b5598b4aa51faad2fd551469712fb3..2f9c68c431ad2c1c80fc47680877e67ff1cea609 100644 |
--- a/Source/core/events/PromiseRejectionEvent.h |
+++ b/Source/core/events/PromiseRejectionEvent.h |
@@ -5,6 +5,7 @@ |
#ifndef PromiseRejectionEvent_h |
#define PromiseRejectionEvent_h |
+#include "bindings/core/v8/DOMWrapperWorld.h" |
#include "bindings/core/v8/ScopedPersistent.h" |
#include "bindings/core/v8/ScriptPromise.h" |
#include "bindings/core/v8/ScriptState.h" |
@@ -30,6 +31,8 @@ public: |
ScriptValue reason(ScriptState*) const; |
ScriptPromise promise(ScriptState*) const; |
+ void setWrapperReference(v8::Isolate*, const v8::Persistent<v8::Object>&); |
+ |
virtual const AtomicString& interfaceName() const override; |
DECLARE_VIRTUAL_TRACE(); |