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

Unified Diff: Source/bindings/core/v8/ScriptPromise.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
« no previous file with comments | « Source/bindings/core/v8/ScopedPersistent.h ('k') | Source/bindings/core/v8/ScriptValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptPromise.h
diff --git a/Source/bindings/core/v8/ScriptPromise.h b/Source/bindings/core/v8/ScriptPromise.h
index ff221cf6f6e69cf3892d4495b4ac7500d17af542..ff77ee04794079333926a4d4132616d6ceed9e14 100644
--- a/Source/bindings/core/v8/ScriptPromise.h
+++ b/Source/bindings/core/v8/ScriptPromise.h
@@ -98,6 +98,11 @@ public:
m_promise.clear();
}
+ void setReference(const v8::Persistent<v8::Object>& parent, v8::Isolate* isolate)
+ {
+ m_promise.setReference(parent, isolate);
+ }
+
bool operator==(const ScriptPromise& value) const
{
return m_promise == value.m_promise;
« no previous file with comments | « Source/bindings/core/v8/ScopedPersistent.h ('k') | Source/bindings/core/v8/ScriptValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698