Index: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
index 76e307f5ed4d9ce1c6f87c3460bc3982c62fe0c5..1102e69c95dfcf9e9810c90705cef1abae10e4ad 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
@@ -123,7 +123,7 @@ TEST_F(GraphicsLayerTest, updateLayerShouldFlattenTransformWithAnimations) |
player.compositorPlayer()->attachElement(m_platformLayer->elementId()); |
ASSERT_TRUE(player.compositorPlayer()->isElementAttached()); |
- player.compositorPlayer()->addAnimation(floatAnimation.release()); |
+ player.compositorPlayer()->addAnimation(std::move(floatAnimation)); |
ASSERT_TRUE(m_platformLayer->hasActiveAnimationForTesting()); |