Index: Source/core/accessibility/AXMediaControls.cpp |
diff --git a/Source/core/accessibility/AXMediaControls.cpp b/Source/core/accessibility/AXMediaControls.cpp |
index 52eebbe11316cfa4cc37aeb4c9af4de548fda920..6e587c0fe9e77b8edf39c75f03c84bc7c8f6065e 100644 |
--- a/Source/core/accessibility/AXMediaControls.cpp |
+++ b/Source/core/accessibility/AXMediaControls.cpp |
@@ -259,7 +259,7 @@ PassRefPtr<AXObject> AccessibilityMediaTimeline::create(RenderObject* renderer) |
String AccessibilityMediaTimeline::valueDescription() const |
{ |
Node* node = m_renderer->node(); |
- if (!node->hasTagName(inputTag)) |
+ if (!isHTMLInputElement(node)) |
return String(); |
return localizedMediaTimeDescription(toHTMLInputElement(node)->value().toFloat()); |