| Index: third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
|
| index cafbfed9cfbe411ed43ad6dee8a9a61e6e09a1b2..318a11ae302311a059d380984fd32224c7b82bb9 100644
|
| --- a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
|
| @@ -354,6 +354,14 @@
|
| CompositorAnimations::pauseAnimationForTestingOnCompositor(*m_target, *animation(), compositorAnimationId, pauseTime);
|
| }
|
|
|
| +bool KeyframeEffect::canAttachCompositedLayers() const
|
| +{
|
| + if (!m_target || !animation())
|
| + return false;
|
| +
|
| + return CompositorAnimations::canAttachCompositedLayers(*m_target, *animation());
|
| +}
|
| +
|
| void KeyframeEffect::attachCompositedLayers()
|
| {
|
| ASSERT(m_target);
|
|
|