| Index: Source/core/animation/DocumentAnimations.cpp
|
| diff --git a/Source/core/animation/DocumentAnimations.cpp b/Source/core/animation/DocumentAnimations.cpp
|
| index f262f56232118d9b1e0eff6f7412c12457c0726f..dc6628da18791ea0525ad827ca312f240f45b819 100644
|
| --- a/Source/core/animation/DocumentAnimations.cpp
|
| +++ b/Source/core/animation/DocumentAnimations.cpp
|
| @@ -70,8 +70,12 @@ void DocumentAnimations::updateAnimationTimingForGetComputedStyle(Node& node, CS
|
| return;
|
| const Element& element = toElement(node);
|
| if (const ComputedStyle* style = element.computedStyle()) {
|
| + bool isTransformProperty = property == CSSPropertyRotate
|
| + || property == CSSPropertyScale
|
| + || property == CSSPropertyTransform
|
| + || property == CSSPropertyTranslate;
|
| if ((property == CSSPropertyOpacity && style->isRunningOpacityAnimationOnCompositor())
|
| - || (property == CSSPropertyTransform && style->isRunningTransformAnimationOnCompositor())
|
| + || (isTransformProperty && style->isRunningTransformAnimationOnCompositor())
|
| || (property == CSSPropertyWebkitFilter && style->isRunningFilterAnimationOnCompositor())) {
|
| updateAnimationTiming(element.document(), TimingUpdateOnDemand);
|
| }
|
|
|