Index: Source/core/html/track/TextTrackCueList.cpp |
diff --git a/Source/core/html/track/TextTrackCueList.cpp b/Source/core/html/track/TextTrackCueList.cpp |
index 2619d2ce532e897b358a2cb6343579cc0cb3400c..626182d4ca2a2c8ab7b431171a9feae7ad98cdf1 100644 |
--- a/Source/core/html/track/TextTrackCueList.cpp |
+++ b/Source/core/html/track/TextTrackCueList.cpp |
@@ -114,6 +114,8 @@ bool TextTrackCueList::remove(TextTrackCue* cue) |
return false; |
cue->setIsActive(false); |
+ cue->removeDisplayTree(); |
+ |
m_list.remove(index); |
return true; |
} |