Missing NULL-check in VideoTrack::setLanguage
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Nov 2014 17:52:58 +0000 (17:52 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Nov 2014 17:52:58 +0000 (17:52 +0000)
commitf62853e372651602bed10dd609141d5103ae9ece
tree755603178cae68f47b985999c55b430145370cb5
parent2480cd6172615f98ce4e2399826094bcc7ab1cfc
Missing NULL-check in VideoTrack::setLanguage
https://bugs.webkit.org/show_bug.cgi?id=138867

Reviewed by Jer Noble.

* html/track/VideoTrack.cpp:
(WebCore::VideoTrack::setLanguage): Prevent change event creation
on an empty video track list.

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