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 b885962f2d512d384c35974222a39ce34f10d6e3..14e68c9873e97f8b715fe9516bc6f77187d1c897 100644 |
--- a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp |
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp |
@@ -225,6 +225,10 @@ bool CompositorAnimations::getAnimatedBoundingBox(FloatBox& box, const EffectMod |
bool CompositorAnimations::isCandidateForAnimationOnCompositor(const Timing& timing, const Element& targetElement, const Animation* animationToAdd, const EffectModel& effect, double animationPlaybackRate) |
{ |
+ // TODO(alancutter): Make transitions work on the compositor |
+ if (!effect.isKeyframeEffectModel()) |
+ return false; |
+ |
const KeyframeEffectModelBase& keyframeEffect = toKeyframeEffectModelBase(effect); |
PropertyHandleSet properties = keyframeEffect.properties(); |