| Index: third_party/WebKit/Source/core/animation/Animation.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp
|
| index cb61588415caa01f3b286baaa1c79d491a1eb08a..47698978a4961ac229d87eda6788ff8acddf2c6b 100644
|
| --- a/third_party/WebKit/Source/core/animation/Animation.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/Animation.cpp
|
| @@ -762,7 +762,7 @@ void Animation::setCompositorPending(bool effectChanged)
|
| // FIXME: KeyframeEffect could notify this directly?
|
| if (!hasActiveAnimationsOnCompositor()) {
|
| destroyCompositorPlayer();
|
| - m_compositorState.clear();
|
| + m_compositorState.reset();
|
| }
|
| if (effectChanged && m_compositorState) {
|
| m_compositorState->effectChanged = true;
|
| @@ -919,7 +919,7 @@ void Animation::destroyCompositorPlayer()
|
| if (m_compositorPlayer) {
|
| detachCompositorTimeline();
|
| m_compositorPlayer->setAnimationDelegate(nullptr);
|
| - m_compositorPlayer.clear();
|
| + m_compositorPlayer.reset();
|
| }
|
| }
|
|
|
|
|