| Index: Source/core/animation/AnimatableLength.h
|
| diff --git a/Source/core/animation/AnimatableLength.h b/Source/core/animation/AnimatableLength.h
|
| index a7505eb900f473501095dd50c5274ca75222a91e..147457612483891a58de0420f72d1744f6b0e376 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);
|
|
|