Keep 'webkitClosedCaptionsVisible' API in sync with captions display preferences
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Apr 2014 16:01:38 +0000 (16:01 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Apr 2014 16:01:38 +0000 (16:01 +0000)
commit30b561b0ddb5e16c676c1622407b86baa41fe7c5
treebe40d2afa0ffca9e2f47670bb3f0f91e86cf8c86
parent11dbaeaf4c0c7c4c50f64e0a6122999e8ceee7ed
Keep 'webkitClosedCaptionsVisible' API in sync with captions display preferences
https://bugs.webkit.org/show_bug.cgi?id=131344

Reviewed by Eric Carlson.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::configureTextTrackGroup) If we decide that captions should
be active (due to user preferences) make sure the 'webkitClosedCaptionsVisible' state
is turned on.

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