| Index: third_party/WebKit/Source/platform/Length.h
|
| diff --git a/third_party/WebKit/Source/platform/Length.h b/third_party/WebKit/Source/platform/Length.h
|
| index fa22772297b57b0b1635af3fae9ffd52b3599ae5..6dde7bc0e6a94bf1af24d3d86f17a5e1d9761694 100644
|
| --- a/third_party/WebKit/Source/platform/Length.h
|
| +++ b/third_party/WebKit/Source/platform/Length.h
|
| @@ -252,6 +252,7 @@ public:
|
|
|
| bool isAuto() const { return type() == Auto; }
|
| bool isFixed() const { return type() == Fixed; }
|
| + bool isPercent() const { return type() == Percent; }
|
| bool isIntrinsicOrAuto() const { return type() == Auto || isIntrinsic(); }
|
| bool isIntrinsic() const { return type() == MinContent || type() == MaxContent || type() == FillAvailable || type() == FitContent; }
|
| bool isSpecified() const { return type() == Fixed || type() == Percent || type() == Calculated; }
|
| @@ -262,7 +263,6 @@ public:
|
| bool isMaxContent() const { return type() == MaxContent; }
|
| bool isFillAvailable() const { return type() == FillAvailable; }
|
| bool isFitContent() const { return type() == FitContent; }
|
| - bool isPercent() const { return type() == Percent; }
|
| bool isPercentOrCalc() const { return type() == Percent || type() == Calculated; }
|
|
|
| Length blend(const Length& from, double progress, ValueRange range) const
|
|
|