| Index: Source/core/html/track/TextTrack.cpp
|
| diff --git a/Source/core/html/track/TextTrack.cpp b/Source/core/html/track/TextTrack.cpp
|
| index 54f2cbdec176b2a2c6a4aefe59f6fb5adc5abd34..c40516d26baf373122e959644fb373a4421b7e67 100644
|
| --- a/Source/core/html/track/TextTrack.cpp
|
| +++ b/Source/core/html/track/TextTrack.cpp
|
| @@ -274,6 +274,9 @@ void TextTrack::removeCue(TextTrackCue* cue, ExceptionState& exceptionState)
|
| return;
|
| }
|
|
|
| + cue->setIsActive(false);
|
| + cue->removeDisplayTree();
|
| +
|
| cue->setTrack(0);
|
| if (cueTimeline())
|
| cueTimeline()->removeCue(this, cue);
|
|
|