Index: third_party/WebKit/Source/core/layout/LayoutImageResource.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutImageResource.h b/third_party/WebKit/Source/core/layout/LayoutImageResource.h |
index 9680c5aa5365e2a7270f976abffa39fd293b94ad..3c2b8da0fe802ee218bdb110a68704930a8cdc74 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutImageResource.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutImageResource.h |
@@ -59,7 +59,11 @@ public: |
virtual bool imageHasRelativeSize() const { return m_cachedImage ? m_cachedImage->imageHasRelativeSize() : false; } |
- virtual LayoutSize imageSize(float multiplier) const; |
+ virtual LayoutSize concreteObjectSize(const FloatSize& defaultObjectSize, float multiplier) const; |
+ LayoutSize defaultConcreteObjectSize(float multiplier) const |
+ { |
+ return concreteObjectSize(FloatSize(300, 150), multiplier); |
+ } |
virtual WrappedImagePtr imagePtr() const { return m_cachedImage.get(); } |