Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(668)

Unified Diff: third_party/WebKit/Source/core/style/StylePendingImage.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/style/StylePendingImage.h
diff --git a/third_party/WebKit/Source/core/style/StylePendingImage.h b/third_party/WebKit/Source/core/style/StylePendingImage.h
index 483f3b1427610f570d9a32f057fbd7b6796c076c..93d7e4f5a76e96739d10176cd05916424fee27ed 100644
--- a/third_party/WebKit/Source/core/style/StylePendingImage.h
+++ b/third_party/WebKit/Source/core/style/StylePendingImage.h
@@ -62,8 +62,7 @@ public:
CSSImageSetValue* cssImageSetValue() const { return m_value->isImageSetValue() ? toCSSImageSetValue(m_value.get()) : 0; }
LayoutSize imageSize(const LayoutObject*, float /*multiplier*/) const override { return LayoutSize(); }
- bool imageHasRelativeWidth() const override { return false; }
- bool imageHasRelativeHeight() const override { return false; }
+ bool imageHasRelativeSize() const override { return false; }
void computeIntrinsicDimensions(const LayoutObject*, Length& /* intrinsicWidth */ , Length& /* intrinsicHeight */, FloatSize& /* intrinsicRatio */) override { }
bool usesImageContainerSize() const override { return false; }
void addClient(LayoutObject*) override { }

Powered by Google App Engine
This is Rietveld 408576698