Chromium Code Reviews| Index: Source/core/animation/KeyframeEffect.cpp |
| diff --git a/Source/core/animation/KeyframeEffect.cpp b/Source/core/animation/KeyframeEffect.cpp |
| index fcf364a1ed5817ef5777f49f5131967e6a63eb0a..07cfa53341ba1c5adea2eccf06a20d7f540843eb 100644 |
| --- a/Source/core/animation/KeyframeEffect.cpp |
| +++ b/Source/core/animation/KeyframeEffect.cpp |
| @@ -242,7 +242,7 @@ bool KeyframeEffect::isCandidateForAnimationOnCompositor(double animationPlaybac |
| { |
| if (!model() |
| || !m_target |
| - || (m_target->computedStyle() && m_target->computedStyle()->hasMotionPath())) |
| + || (m_target->computedStyle() && (m_target->computedStyle()->hasMotionPath() || m_target->computedStyle()->hasTransformProperties()))) |
| return false; |
|
Eric Willigers
2015/06/11 02:15:19
applyEffects() also needs changing, in case 'trans
soonm
2015/06/11 23:31:03
Done.
|
| return CompositorAnimations::instance()->isCandidateForAnimationOnCompositor(specifiedTiming(), *m_target, animation(), *model(), animationPlaybackRate); |