Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
index 63ffc61f704fada5c5244fcbddee325c7ec99f26..e1eac84a3c71b646a59e4cc422c232cc86f0c416 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
@@ -735,7 +735,7 @@ bool AXLayoutObject::computeAccessibilityIsIgnored(IgnoredReasons* ignoredReason |
// check whether laid out image was stretched from one-dimensional file image |
if (image->cachedImage()) { |
- LayoutSize imageSize = image->cachedImage()->imageSize(LayoutObject::shouldRespectImageOrientation(m_layoutObject), image->view()->zoomFactor()); |
+ LayoutSize imageSize = image->cachedImage()->defaultConcreteObjectSize(LayoutObject::shouldRespectImageOrientation(m_layoutObject), image->view()->zoomFactor()); |
if (imageSize.height() <= 1 || imageSize.width() <= 1) { |
if (ignoredReasons) |
ignoredReasons->append(IgnoredReason(AXProbablyPresentational)); |