Index: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
index 6abfec0a51061b7544f66f4f25eb2132a0a26891..9aafdd46b3f3479ed33b5fe5ab9ef4d8687345ee 100644 |
--- a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
+++ b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
@@ -121,7 +121,7 @@ static bool isValidRasterShapeRect(const LayoutRect& rect) |
PassOwnPtr<Shape> ShapeOutsideInfo::createShapeForImage(StyleImage* styleImage, float shapeImageThreshold, WritingMode writingMode, float margin) const |
{ |
- const LayoutSize& imageSize = m_layoutBox.calculateImageIntrinsicDimensions(styleImage, m_referenceBoxLogicalSize, LayoutImage::ScaleByEffectiveZoom); |
+ const LayoutSize& imageSize = styleImage->imageSize(&m_layoutBox, m_layoutBox.style()->effectiveZoom(), m_referenceBoxLogicalSize); |
const LayoutRect& marginRect = getShapeImageMarginRect(m_layoutBox, m_referenceBoxLogicalSize); |
const LayoutRect& imageRect = (m_layoutBox.isLayoutImage()) |