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

Unified Diff: third_party/WebKit/Source/core/dom/MessagePort.cpp

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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: third_party/WebKit/Source/core/dom/MessagePort.cpp
diff --git a/third_party/WebKit/Source/core/dom/MessagePort.cpp b/third_party/WebKit/Source/core/dom/MessagePort.cpp
index 39fc71e12b907344e4b4af722a06a63a39f0f8bb..ac307b6b9b1b6d40e2ce520769872d807fe360f2 100644
--- a/third_party/WebKit/Source/core/dom/MessagePort.cpp
+++ b/third_party/WebKit/Source/core/dom/MessagePort.cpp
@@ -51,7 +51,8 @@ MessagePort* MessagePort::create(ExecutionContext& executionContext)
}
MessagePort::MessagePort(ExecutionContext& executionContext)
- : ActiveDOMObject(&executionContext)
+ : ActiveScriptWrappable(this)
+ , ActiveDOMObject(&executionContext)
, m_started(false)
, m_closed(false)
, m_weakFactory(this)

Powered by Google App Engine
This is Rietveld 408576698