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

Unified Diff: Source/platform/Length.h

Issue 55843002: Length type Relative is now unused. Remove it. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@length-relative-die-step-3-4
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/platform/LengthFunctions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/Length.h
diff --git a/Source/platform/Length.h b/Source/platform/Length.h
index ee01789878c6164b4df834332587dbf3afa59897..7a3448b32e21049580c53799b31e4b9a26391292 100644
--- a/Source/platform/Length.h
+++ b/Source/platform/Length.h
@@ -36,7 +36,7 @@
namespace WebCore {
enum LengthType {
- Auto, Relative, Percent, Fixed,
+ Auto, Percent, Fixed,
Intrinsic, MinIntrinsic,
MinContent, MaxContent, FillAvailable, FitContent,
Calculated,
@@ -224,7 +224,6 @@ public:
}
bool isAuto() const { return type() == Auto; }
- bool isRelative() const { return type() == Relative; }
bool isPercent() const { return type() == Percent || type() == Calculated; }
bool isFixed() const { return type() == Fixed; }
bool isIntrinsicOrAuto() const { return type() == Auto || isLegacyIntrinsic() || isIntrinsic(); }
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/platform/LengthFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698