Index: Source/core/html/shadow/MediaControlElements.cpp |
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp |
index 2c1ad6ef3389ae6501f2b264beba25fe69594849..e9420b53123551ad0b59e213ea9880ea70cd7947 100644 |
--- a/Source/core/html/shadow/MediaControlElements.cpp |
+++ b/Source/core/html/shadow/MediaControlElements.cpp |
@@ -716,7 +716,7 @@ void MediaControlTextTrackContainerElement::updateDisplay() |
} |
// 11. Return output. |
- if (hasChildNodes()) |
+ if (hasChildren()) |
show(); |
else |
hide(); |