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

Unified Diff: third_party/WebKit/Source/core/html/track/TextTrackList.cpp

Issue 1973863003: Implement SetWrapperReferenceFrom idl attribute within traceWrappers for media tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary tracing Created 4 years, 7 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/html/track/TextTrackList.cpp
diff --git a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
index 8fd0d1fd66a7afc8ce7167b2494be06526b93202..2063d4e3410e13beffdd4b39231507aba569536f 100644
--- a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
+++ b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
@@ -320,3 +320,13 @@ DEFINE_TRACE(TextTrackList)
visitor->trace(m_inbandTracks);
EventTargetWithInlineData::trace(visitor);
}
+
+DEFINE_TRACE_WRAPPERS(TextTrackList)
+{
+ for (auto track : m_addTrackTracks)
+ visitor->traceWrappers(track);
+ for (auto track : m_elementTracks)
+ visitor->traceWrappers(track);
+ for (auto track : m_inbandTracks)
+ visitor->traceWrappers(track);
+}
« no previous file with comments | « third_party/WebKit/Source/core/html/track/TextTrackList.h ('k') | third_party/WebKit/Source/core/html/track/TrackListBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698