| 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 6e267fee1928595015edf5fa74089126765b4fda..fa22772297b57b0b1635af3fae9ffd52b3599ae5 100644
|
| --- a/third_party/WebKit/Source/platform/Length.h
|
| +++ b/third_party/WebKit/Source/platform/Length.h
|
| @@ -262,7 +262,8 @@ public:
|
| bool isMaxContent() const { return type() == MaxContent; }
|
| bool isFillAvailable() const { return type() == FillAvailable; }
|
| bool isFitContent() const { return type() == FitContent; }
|
| - bool hasPercent() const { return type() == Percent || type() == Calculated; }
|
| + bool isPercent() const { return type() == Percent; }
|
| + bool isPercentOrCalc() const { return type() == Percent || type() == Calculated; }
|
|
|
| Length blend(const Length& from, double progress, ValueRange range) const
|
| {
|
|
|