| Index: Source/core/animation/AnimatableLength.h
|
| diff --git a/Source/core/animation/AnimatableLength.h b/Source/core/animation/AnimatableLength.h
|
| index 167ff848bf0867a162c93e6f417ce3ccc964c261..7017ac723eef463f678b1aa1ea76ac28e13fc781 100644
|
| --- a/Source/core/animation/AnimatableLength.h
|
| +++ b/Source/core/animation/AnimatableLength.h
|
| @@ -102,6 +102,11 @@ private:
|
| return m_unitType == UnitTypeCalc;
|
| }
|
|
|
| + bool isViewportUnit() const
|
| + {
|
| + return m_unitType == UnitTypeViewportWidth || m_unitType == UnitTypeViewportHeight || m_unitType == UnitTypeViewportMin || m_unitType == UnitTypeViewportMax;
|
| + }
|
| +
|
| static PassRefPtr<AnimatableLength> create(const AnimatableLength* leftAddend, const AnimatableLength* rightAddend)
|
| {
|
| ASSERT(leftAddend && rightAddend);
|
|
|