| Index: Source/platform/transforms/TranslateTransformOperation.cpp
|
| diff --git a/Source/platform/transforms/TranslateTransformOperation.cpp b/Source/platform/transforms/TranslateTransformOperation.cpp
|
| index 49cf64763674a4def930407fd316fe3281a0d8cc..9ba799fed7b24319c1642c83fa807651e856369f 100644
|
| --- a/Source/platform/transforms/TranslateTransformOperation.cpp
|
| +++ b/Source/platform/transforms/TranslateTransformOperation.cpp
|
| @@ -40,4 +40,13 @@ PassRefPtr<TransformOperation> TranslateTransformOperation::blend(const Transfor
|
| return TranslateTransformOperation::create(m_x.blend(fromX, progress, ValueRangeAll), m_y.blend(fromY, progress, ValueRangeAll), WebCore::blend(fromZ, m_z, progress), m_type);
|
| }
|
|
|
| +bool TranslateTransformOperation::isCompatibleType(const TransformOperation& other) const
|
| +{
|
| + return other.type() == Translate
|
| + || other.type() == TranslateX
|
| + || other.type() == TranslateY
|
| + || other.type() == TranslateZ
|
| + || other.type() == Translate3D;
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|