Chromium Code Reviews| Index: Source/core/animation/ElementAnimations.cpp |
| diff --git a/Source/core/animation/ElementAnimations.cpp b/Source/core/animation/ElementAnimations.cpp |
| index 86bee848ef2f11d7dbad838d16f62034caf42ed1..7bcfa569e8e80a3314792507526ee266c4a3008d 100644 |
| --- a/Source/core/animation/ElementAnimations.cpp |
| +++ b/Source/core/animation/ElementAnimations.cpp |
| @@ -60,7 +60,10 @@ void ElementAnimations::updateAnimationFlags(ComputedStyle& style) |
| if (effect.isCurrent()) { |
| if (effect.affects(PropertyHandle(CSSPropertyOpacity))) |
| style.setHasCurrentOpacityAnimation(true); |
| - if (effect.affects(PropertyHandle(CSSPropertyTransform))) |
| + if (effect.affects(PropertyHandle(CSSPropertyTransform)) |
|
Eric Willigers
2015/07/06 06:03:28
[Optional] Can we call isTransformRelatedEffect?
soonm
2015/07/06 23:36:50
Done - Yep that seems sound since the function onl
soonm
2015/07/06 23:36:50
Yep that seems sound since the function only deals
|
| + || effect.affects(PropertyHandle(CSSPropertyRotate)) |
| + || effect.affects(PropertyHandle(CSSPropertyScale)) |
| + || effect.affects(PropertyHandle(CSSPropertyTranslate))) |
| style.setHasCurrentTransformAnimation(true); |
| if (effect.affects(PropertyHandle(CSSPropertyWebkitFilter))) |
| style.setHasCurrentFilterAnimation(true); |