| Index: Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
| diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
| index e25ddd3f9beb14a2ac4f0af5acc9d59314dd4a74..1e090ffc0b7219c6246709ef87cb323ed7da9f2b 100644
|
| --- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
| +++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
| @@ -41,6 +41,7 @@
|
| #include "core/animation/AnimatableLengthBox.h"
|
| #include "core/animation/AnimatableLengthBoxAndBool.h"
|
| #include "core/animation/AnimatableLengthPoint.h"
|
| +#include "core/animation/AnimatableLengthPoint3D.h"
|
| #include "core/animation/AnimatableLengthSize.h"
|
| #include "core/animation/AnimatableRepeatable.h"
|
| #include "core/animation/AnimatableSVGLength.h"
|
| @@ -475,11 +476,20 @@ PassRefPtrWillBeRawPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPro
|
| return createFromColor(property, style);
|
| case CSSPropertyTransform:
|
| return AnimatableTransform::create(style.transform());
|
| + case CSSPropertyTransformOrigin:
|
| + ASSERT(RuntimeEnabledFeatures::cssTransformsUnprefixedEnabled());
|
| + return AnimatableLengthPoint3D::create(
|
| + createFromLength(style.transformOriginX(), style),
|
| + createFromLength(style.transformOriginY(), style),
|
| + createFromDouble(style.transformOriginZ()));
|
| case CSSPropertyWebkitTransformOriginX:
|
| + ASSERT(!RuntimeEnabledFeatures::cssTransformsUnprefixedEnabled());
|
| return createFromLength(style.transformOriginX(), style);
|
| case CSSPropertyWebkitTransformOriginY:
|
| + ASSERT(!RuntimeEnabledFeatures::cssTransformsUnprefixedEnabled());
|
| return createFromLength(style.transformOriginY(), style);
|
| case CSSPropertyWebkitTransformOriginZ:
|
| + ASSERT(!RuntimeEnabledFeatures::cssTransformsUnprefixedEnabled());
|
| return createFromDouble(style.transformOriginZ());
|
| case CSSPropertyWidows:
|
| return createFromDouble(style.widows());
|
|
|