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

Unified Diff: third_party/WebKit/Source/core/style/StyleImage.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/StyleImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleImage.h b/third_party/WebKit/Source/core/style/StyleImage.h
index 2450d23330d4109a3d8869230ca184d84fb47aa3..5bbdfceb335dd530b87d963e4691753f3f8659ee 100644
--- a/third_party/WebKit/Source/core/style/StyleImage.h
+++ b/third_party/WebKit/Source/core/style/StyleImage.h
@@ -58,8 +58,7 @@ public:
virtual bool errorOccurred() const { return false; }
virtual LayoutSize imageSize(const LayoutObject*, float multiplier) const = 0;
virtual void computeIntrinsicDimensions(const LayoutObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) = 0;
- virtual bool imageHasRelativeWidth() const = 0;
- virtual bool imageHasRelativeHeight() const = 0;
+ virtual bool imageHasRelativeSize() const = 0;
virtual bool usesImageContainerSize() const = 0;
virtual void addClient(LayoutObject*) = 0;
virtual void removeClient(LayoutObject*) = 0;
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleGeneratedImage.h ('k') | third_party/WebKit/Source/core/style/StyleInvalidImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698