| Index: Source/platform/transforms/ScaleTransformOperation.cpp
|
| diff --git a/Source/platform/transforms/ScaleTransformOperation.cpp b/Source/platform/transforms/ScaleTransformOperation.cpp
|
| index 829aec99fd04abd276209b98211cbc56e1eb25a9..a75ad4a4fda72df6ee1a104a184dc082919d3cb8 100644
|
| --- a/Source/platform/transforms/ScaleTransformOperation.cpp
|
| +++ b/Source/platform/transforms/ScaleTransformOperation.cpp
|
| @@ -45,4 +45,14 @@ PassRefPtr<TransformOperation> ScaleTransformOperation::blend(const TransformOpe
|
| WebCore::blend(fromZ, m_z, progress), m_type);
|
| }
|
|
|
| +
|
| +bool ScaleTransformOperation::canInterpolateWith(const TransformOperation& other) const
|
| +{
|
| + return other.type() == ScaleX
|
| + || other.type() == ScaleY
|
| + || other.type() == ScaleZ
|
| + || other.type() == Scale3D
|
| + || other.type() == Scale;
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|