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

Unified Diff: Source/core/html/track/TextTrackCue.cpp

Issue 244493002: Oilpan: add transition types to track interface objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Explicitly dispose of TextTrackList + fix handling of {Inband,Loadable}TextTrack Created 6 years, 8 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/html/track/TextTrackCue.cpp
diff --git a/Source/core/html/track/TextTrackCue.cpp b/Source/core/html/track/TextTrackCue.cpp
index ebf262f9b282d4d7db3b120dd822398f4e87a550..8a57afeba54c55b101342012c6a2e42dd81eed35 100644
--- a/Source/core/html/track/TextTrackCue.cpp
+++ b/Source/core/html/track/TextTrackCue.cpp
@@ -55,7 +55,7 @@ TextTrackCue::TextTrackCue(double start, double end)
: m_startTime(start)
, m_endTime(end)
, m_cueIndex(invalidCueIndex)
- , m_track(0)
+ , m_track(nullptr)
, m_isActive(false)
, m_pauseOnExit(false)
{
@@ -174,4 +174,9 @@ const AtomicString& TextTrackCue::interfaceName() const
return EventTargetNames::TextTrackCue;
}
+void TextTrackCue::trace(Visitor* visitor)
+{
+ visitor->trace(m_track);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698