| 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..da118ff4c7d3fd51c964fb12c4a6c708f8aad5d1 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; }
|
|
|