Index: Source/core/accessibility/AXRenderObject.cpp |
diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp |
index d0550795d5aee99c0c21ed38db3219ce8a479c2e..13e7424de97ae56866d1c531ead7497973014032 100644 |
--- a/Source/core/accessibility/AXRenderObject.cpp |
+++ b/Source/core/accessibility/AXRenderObject.cpp |
@@ -297,11 +297,6 @@ |
return ImageRole; |
} |
- // This is for the case where the fallback content kicks in. |
- // The normal case should be handled in the case above |
- if (node && node->hasTagName(HTMLNames::imgTag)) |
- return ImageRole; |
- |
// Note: if JavaScript is disabled, the renderer won't be a RenderHTMLCanvas. |
if (isHTMLCanvasElement(node) && m_renderer->isCanvas()) |
return CanvasRole; |