Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index d950813509f57be4ced709d0b6c95b819abd7b1e..20b112fa5347f690d8d8c518ac240c81c5d82b42 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -2716,7 +2716,7 @@ void HTMLMediaElement::mediaPlayerDidRemoveTextTrack(WebInbandTextTrack* webTrac |
void HTMLMediaElement::textTracksChanged() |
{ |
if (hasMediaControls()) |
- mediaControls()->textTracksChanged(); |
+ mediaControls()->refreshClosedCaptionsButtonVisibility(); |
} |
void HTMLMediaElement::addTextTrack(TextTrack* track) |