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

Unified Diff: Source/core/dom/MessageChannel.cpp

Issue 177073004: Oilpan: move core/workers to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/dom/MessageChannel.cpp
diff --git a/Source/core/dom/MessageChannel.cpp b/Source/core/dom/MessageChannel.cpp
index 20a493d97c8b9c20be347bbd628258665b35fd45..b6bfbf7d813a627ef76852283737f8cce033592d 100644
--- a/Source/core/dom/MessageChannel.cpp
+++ b/Source/core/dom/MessageChannel.cpp
@@ -33,6 +33,8 @@
namespace WebCore {
+DEFINE_GC_INFO(MessageChannel);
+
static void createChannel(MessagePort* port1, MessagePort* port2)
{
// Create proxies for each endpoint.
@@ -60,4 +62,10 @@ MessageChannel::~MessageChannel()
{
}
+void MessageChannel::trace(Visitor* visitor)
+{
+ visitor->trace(m_port1);
+ visitor->trace(m_port2);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698