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 07bd5e2f6f68ab508c5865d23e11c7adde7f9cc1..414532c67cf29cb8a2c7ed7d380c91c1ec8570fc 100644 |
--- a/third_party/WebKit/Source/core/style/StyleGeneratedImage.h |
+++ b/third_party/WebKit/Source/core/style/StyleGeneratedImage.h |
@@ -45,8 +45,7 @@ public: |
PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const override; |
LayoutSize imageSize(const LayoutObject*, float multiplier) const override; |
- bool imageHasRelativeWidth() const override { return !m_fixedSize; } |
- bool imageHasRelativeHeight() const override { return !m_fixedSize; } |
+ bool imageHasRelativeSize() const override { return !m_fixedSize; } |
void computeIntrinsicDimensions(const LayoutObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override; |
bool usesImageContainerSize() const override { return !m_fixedSize; } |
void addClient(LayoutObject*) override; |