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

Unified Diff: third_party/WebKit/Source/core/style/StyleInvalidImage.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/StyleInvalidImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleInvalidImage.h b/third_party/WebKit/Source/core/style/StyleInvalidImage.h
index b9ce40b91423524f6918c37b0eab68bbec1d68d7..1ae2b567a4f2334b6d08a854e4c809bffbb29f70 100644
--- a/third_party/WebKit/Source/core/style/StyleInvalidImage.h
+++ b/third_party/WebKit/Source/core/style/StyleInvalidImage.h
@@ -24,8 +24,7 @@ public:
PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const override { return cssValue(); }
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 { }
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleImage.h ('k') | third_party/WebKit/Source/core/style/StylePendingImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698