| Index: third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
|
| index 3a0f34148f6d744244b90379ea036a579effd6ae..f98c86d7ef9ceb42fb138668e9527a86198df6f5 100644
|
| --- a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
|
| @@ -253,8 +253,12 @@ bool CompositorAnimations::isCandidateForAnimationOnCompositor(const Timing& tim
|
| if (!property.isCSSProperty())
|
| return false;
|
|
|
| - if (isTransformRelatedCSSProperty(property))
|
| + if (isTransformRelatedCSSProperty(property)) {
|
| + if (targetElement.layoutObject() && targetElement.layoutObject()->isInline()) {
|
| + return false;
|
| + }
|
| transformPropertyCount++;
|
| + }
|
|
|
| const PropertySpecificKeyframeVector& keyframes = keyframeEffect.getPropertySpecificKeyframes(property);
|
| ASSERT(keyframes.size() >= 2);
|
|
|