Index: Source/core/html/track/CueTimeline.cpp |
diff --git a/Source/core/html/track/CueTimeline.cpp b/Source/core/html/track/CueTimeline.cpp |
index 8ebbd5025891b46b93cd812078b5cccb61527241..0a35f354c3131e2d80e711c9d0eb1a645eae79e0 100644 |
--- a/Source/core/html/track/CueTimeline.cpp |
+++ b/Source/core/html/track/CueTimeline.cpp |
@@ -64,6 +64,7 @@ void CueTimeline::removeCue(TextTrack*, PassRefPtrWillBeRawPtr<TextTrackCue> cue |
size_t index = m_currentlyActiveCues.find(interval); |
if (index != kNotFound) { |
+ ASSERT(cue->isActive()); |
m_currentlyActiveCues.remove(index); |
cue->setIsActive(false); |
// Since the cue will be removed from the media element and likely the |