Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(982)

Unified Diff: Source/core/events/PromiseRejectionEvent.h

Issue 1215813003: Correctly track lifetime of promise rejection events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698