Index: Source/core/accessibility/AXMediaControls.cpp |
diff --git a/Source/core/accessibility/AXMediaControls.cpp b/Source/core/accessibility/AXMediaControls.cpp |
index ca7113e428e1440f4f187d11f0fba5b926a52388..7b7d52f620e45deabb7f97be82b6132e6662a561 100644 |
--- a/Source/core/accessibility/AXMediaControls.cpp |
+++ b/Source/core/accessibility/AXMediaControls.cpp |
@@ -229,7 +229,7 @@ bool AXMediaControlsContainer::controllingVideoElement() const |
MediaControlTimeDisplayElement* element = static_cast<MediaControlTimeDisplayElement*>(m_renderer->node()); |
- return toParentMediaElement(element)->isVideo(); |
+ return isHTMLVideoElement(toParentMediaElement(element)); |
} |
bool AXMediaControlsContainer::computeAccessibilityIsIgnored() const |