Index: third_party/WebKit/Source/core/html/track/TextTrackContainer.cpp |
diff --git a/third_party/WebKit/Source/core/html/track/TextTrackContainer.cpp b/third_party/WebKit/Source/core/html/track/TextTrackContainer.cpp |
index 73dacb959e5b725361b334f15dcc6daedb2d5510..68627af3e22ae363c2ce0c95cd9555b865226f81 100644 |
--- a/third_party/WebKit/Source/core/html/track/TextTrackContainer.cpp |
+++ b/third_party/WebKit/Source/core/html/track/TextTrackContainer.cpp |
@@ -54,7 +54,7 @@ LayoutObject* TextTrackContainer::createLayoutObject(const ComputedStyle&) |
void TextTrackContainer::updateDisplay(HTMLMediaElement& mediaElement, ExposingControls exposingControls) |
{ |
- if (!mediaElement.closedCaptionsVisible()) { |
+ if (!mediaElement.textTracksVisible()) { |
removeChildren(); |
return; |
} |