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 0569076bf68a63504bd25600ff72a8c29da7c3ef..68048eac383236e760aa33850da06134d9d72eb0 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
@@ -763,7 +763,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()->imageSizeForLayoutObject(m_layoutObject, image->view()->zoomFactor()); |
+ LayoutSize imageSize = image->cachedImage()->imageSize(LayoutObject::shouldRespectImageOrientation(m_layoutObject), image->view()->zoomFactor()); |
if (imageSize.height() <= 1 || imageSize.width() <= 1) { |
if (ignoredReasons) |
ignoredReasons->append(IgnoredReason(AXProbablyPresentational)); |