| Index: third_party/WebKit/Source/core/layout/LayoutImageResource.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp b/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp
|
| index 2037457c0a490c306a79a6ebe58b2aab9ecdfe20..e26191e2958513d1d9fbc2fd94633cd2347093cb 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp
|
| @@ -89,11 +89,11 @@ void LayoutImageResource::resetAnimation()
|
| m_layoutObject->setShouldDoFullPaintInvalidation();
|
| }
|
|
|
| -LayoutSize LayoutImageResource::imageSize(float multiplier) const
|
| +LayoutSize LayoutImageResource::concreteObjectSize(const FloatSize& defaultObjectSize, float multiplier) const
|
| {
|
| if (!m_cachedImage)
|
| return LayoutSize();
|
| - LayoutSize size = m_cachedImage->imageSize(LayoutObject::shouldRespectImageOrientation(m_layoutObject), multiplier);
|
| + LayoutSize size = m_cachedImage->concreteObjectSize(defaultObjectSize, LayoutObject::shouldRespectImageOrientation(m_layoutObject), multiplier);
|
| if (m_layoutObject && m_layoutObject->isLayoutImage() && size.width() && size.height())
|
| size.scale(toLayoutImage(m_layoutObject)->imageDevicePixelRatio());
|
| return size;
|
|
|