Crash when changing video subtitles.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2017 18:45:59 +0000 (18:45 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2017 18:45:59 +0000 (18:45 +0000)
commit21986c83b5771dd6c3e426c36ababbbd6f1267e8
treecc9a08a2a71100d0df15ceb47e304799e5a6a4fa
parentc3736eef766fc18a1b1a16d95d4f40e1ee439a43
Crash when changing video subtitles.
https://bugs.webkit.org/show_bug.cgi?id=167159

Reviewed by Xabier Rodriguez-Calvar.

Add null pointer check.

* html/track/VTTCue.cpp:
(WebCore::VTTCue::removeDisplayTree):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/track/VTTCue.cpp