Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index 57d0d7332aa13034da29eba261dceaa173f23285..b7f28c3e1fb6b8fd767b85717707a7cb6cf9caa1 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -356,11 +356,6 @@ void MediaControls::refreshClosedCaptionsButtonVisibility() |
m_toggleClosedCaptionsButton->hide(); |
} |
-void MediaControls::textTracksChanged() |
-{ |
- refreshClosedCaptionsButtonVisibility(); |
-} |
- |
static Element* elementFromCenter(Element& element) |
{ |
RefPtrWillBeRawPtr<ClientRect> clientRect = element.getBoundingClientRect(); |