Index: third_party/WebKit/Source/core/fetch/ImageResource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.cpp b/third_party/WebKit/Source/core/fetch/ImageResource.cpp |
index a252a4e72b0c94a5dae54dee86182b0b529d753e..50c7b672af4c69e889bc0c83344d78ff06a42ec0 100644 |
--- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp |
@@ -211,6 +211,14 @@ bool ImageResource::imageHasRelativeSize() const |
return false; |
} |
+void ImageResource::updateConcreteObjectSize(const LayoutSize& defaultObjectSize) |
+{ |
+ if (!m_image) |
+ return; |
+ |
+ m_image->updateConcreteObjectSize(defaultObjectSize); |
+} |
+ |
LayoutSize ImageResource::imageSize(RespectImageOrientationEnum shouldRespectImageOrientation, float multiplier, SizeType sizeType) |
{ |
ASSERT(!isPurgeable()); |