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

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: rebase 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 258fd65e296be9f2c4082ffc08a3f968ec7ae978..2468bacdc9552ba4e31bc6e336425dd9edb107a1 100644
--- a/Source/core/events/PromiseRejectionEvent.h
+++ b/Source/core/events/PromiseRejectionEvent.h
@@ -31,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;
// PromiseRejectionEvents are similar to ErrorEvents in that they can't be
« no previous file with comments | « Source/bindings/core/v8/custom/V8PromiseRejectionEventCustom.cpp ('k') | Source/core/events/PromiseRejectionEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698