-
vcarbune@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=108197 Reviewed by Eric Carlson. Source/WebCore: Test: media/track/track-cue-rendering-tree-is-removed-properly.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::textTrackRemoveCue): Ensure the display tree is removed when the cue is removed from the list of cues. * html/track/TextTrackCue.cpp: (WebCore::TextTrackCue::~TextTrackCue): Enfore display tree removal. LayoutTests: Added test that triggers the crash. Verified proper removal of the tree. * media/track/track-cue-rendering-tree-is-removed-properly-expected.txt: Added. * media/track/track-cue-rendering-tree-is-removed-properly.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
cd01ed72