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 1b0c33e60512843292b39bd851b44e832da83b7f..80167606352cb9516ab277da7cae5f34e318884f 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; |
} |