| Index: third_party/WebKit/Source/core/css/cssom/SimpleLength.h
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/SimpleLength.h b/third_party/WebKit/Source/core/css/cssom/SimpleLength.h
|
| index 97e05347e23a2cccbc038025c324f2c173bb2589..55b2b29841be3b45924fc0ae187447479edcc7ae 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/SimpleLength.h
|
| +++ b/third_party/WebKit/Source/core/css/cssom/SimpleLength.h
|
| @@ -32,6 +32,7 @@ public:
|
| }
|
|
|
| bool containsPercent() const override;
|
| + bool isRelative() const override { return CSSPrimitiveValue::isRelativeUnit(lengthUnit()); }
|
|
|
| double value() const { return m_value; }
|
| String unit() const { return String(CSSPrimitiveValue::unitTypeToString(m_unit)); }
|
|
|