Index: third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
index 0eeb5bb14664187b58e582eeb290f1cd9947ccf1..80cd05437f755d98c0880a72e9969a1d04a8fc99 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
@@ -93,9 +93,9 @@ bool StyleFetchedImageSet::errorOccurred() const |
return m_bestFitImage->errorOccurred(); |
} |
-LayoutSize StyleFetchedImageSet::imageSize(const LayoutObject* layoutObject, float multiplier) const |
+LayoutSize StyleFetchedImageSet::concreteObjectSize(const LayoutObject* layoutObject, const FloatSize& defaultObjectSize, float multiplier) const |
{ |
- LayoutSize scaledImageSize = m_bestFitImage->imageSize(LayoutObject::shouldRespectImageOrientation(layoutObject), multiplier); |
+ LayoutSize scaledImageSize = m_bestFitImage->concreteObjectSize(defaultObjectSize, LayoutObject::shouldRespectImageOrientation(layoutObject), multiplier); |
scaledImageSize.scale(1 / m_imageScaleFactor); |
return scaledImageSize; |
} |