Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.h

Issue 1634133003: Condense Image::hasRelative{Width,Height}() into one (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/style/StyleFetchedImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.h b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
index 0e891d4ab1a8957dbd21c732c7293b390d1ce508..ba3de1ce3f0617fc8532c87b88d80ee6401c58a6 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
@@ -52,8 +52,7 @@ public:
bool isLoaded() const override;
bool errorOccurred() const override;
LayoutSize imageSize(const LayoutObject*, float multiplier) const override;
- bool imageHasRelativeWidth() const override;
- bool imageHasRelativeHeight() const override;
+ bool imageHasRelativeSize() const override;
void computeIntrinsicDimensions(const LayoutObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
bool usesImageContainerSize() const override;
void addClient(LayoutObject*) override;

Powered by Google App Engine