Chromium Code Reviews| 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 b1e26010130c66b87ba8937927611286a771f301..c686978e8e93eaa9d0dc549cf8f5292a73ebe68d 100644 | 
| --- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp | 
| +++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp | 
| @@ -86,7 +86,8 @@ bool StyleFetchedImageSet::errorOccurred() const | 
| LayoutSize StyleFetchedImageSet::imageSize(const LayoutObject* layoutObject, float multiplier) const | 
| { | 
| - LayoutSize scaledImageSize = m_bestFitImage->imageSizeForLayoutObject(layoutObject, multiplier); | 
| + RespectImageOrientationEnum shouldRespectImageOrientation = layoutObject ? layoutObject->shouldRespectImageOrientation() : DoNotRespectImageOrientation; | 
| + LayoutSize scaledImageSize = m_bestFitImage->imageSize(shouldRespectImageOrientation, multiplier); | 
| 
 
Yoav Weiss
2015/11/24 10:29:07
and here as well :)
 
davve
2015/11/24 12:49:13
If I had such a function, yes. (again)
 
 | 
| scaledImageSize.scale(1 / m_imageScaleFactor); | 
| return scaledImageSize; | 
| } |