Index: third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
diff --git a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
index fa8f552d23ef4e83409f8a93ef5f2c8b96491634..5d3ba12d84459a5935fd11726097502091ba7657 100644 |
--- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
+++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
@@ -324,7 +324,7 @@ void LinkHighlightImpl::startHighlightAnimationIfNeeded() |
std::unique_ptr<CompositorAnimation> animation = CompositorAnimation::create(*curve, CompositorTargetProperty::OPACITY, 0, 0); |
m_contentLayer->layer()->setDrawsContent(true); |
- m_compositorPlayer->addAnimation(animation.release()); |
+ m_compositorPlayer->addAnimation(std::move(animation)); |
invalidate(); |
m_owningWebViewImpl->mainFrameImpl()->frameWidget()->scheduleAnimation(); |