| Index: third_party/WebKit/Source/core/style/StyleGeneratedImage.h
|
| diff --git a/third_party/WebKit/Source/core/style/StyleGeneratedImage.h b/third_party/WebKit/Source/core/style/StyleGeneratedImage.h
|
| index 17a4cddb898e437dcfff86a155a815a4d16c8a12..0b6848ccfe6cf8c7700ee968896a98d895d92bb2 100644
|
| --- a/third_party/WebKit/Source/core/style/StyleGeneratedImage.h
|
| +++ b/third_party/WebKit/Source/core/style/StyleGeneratedImage.h
|
| @@ -44,6 +44,7 @@ public:
|
| PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override;
|
| PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const override;
|
|
|
| + void updateConcreteObjectSize(const LayoutSize& defaultObjectSize) override;
|
| LayoutSize imageSize(const LayoutObject*, float multiplier) const override;
|
| bool imageHasRelativeSize() const override { return !m_fixedSize; }
|
| void computeIntrinsicDimensions(const LayoutObject*, FloatSize& intrinsicSize, FloatSize& intrinsicRatio) override;
|
| @@ -62,6 +63,9 @@ private:
|
| // supports const types.
|
| RefPtrWillBeMember<CSSImageGeneratorValue> m_imageGeneratorValue;
|
| const bool m_fixedSize;
|
| +
|
| + // In case there's no fixed size, the default object size is used.
|
| + LayoutSize m_defaultObjectSize;
|
| };
|
|
|
| DEFINE_STYLE_IMAGE_TYPE_CASTS(StyleGeneratedImage, isGeneratedImage());
|
|
|