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

Unified Diff: Source/modules/mediastream/RTCDataChannel.cpp

Issue 965343004: Oilpan: Fix untraced weak members. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/modules/mediastream/RTCDataChannel.cpp
diff --git a/Source/modules/mediastream/RTCDataChannel.cpp b/Source/modules/mediastream/RTCDataChannel.cpp
index 4d43f8130b3233908e6535e07ff51c0c9c58cf37..bb6b98e512cc19091564a8863cfdff514f21a7fe 100644
--- a/Source/modules/mediastream/RTCDataChannel.cpp
+++ b/Source/modules/mediastream/RTCDataChannel.cpp
@@ -334,7 +334,10 @@ void RTCDataChannel::clearWeakMembers(Visitor* visitor)
DEFINE_TRACE(RTCDataChannel)
{
+#if ENABLE(OILPAN)
visitor->trace(m_scheduledEvents);
+#endif
+ visitor->trace(m_connection);
sof 2015/03/03 08:50:36 Same; this shouldn't be traced.
visitor->template registerWeakMembers<RTCDataChannel, &RTCDataChannel::clearWeakMembers>(this);
RefCountedGarbageCollectedEventTargetWithInlineData<RTCDataChannel>::trace(visitor);
}
« Source/modules/mediasource/MediaSource.cpp ('K') | « Source/modules/mediasource/MediaSource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698