Index: Source/web/tests/GraphicsLayerTest.cpp |
diff --git a/Source/web/tests/GraphicsLayerTest.cpp b/Source/web/tests/GraphicsLayerTest.cpp |
index 3f9d624b01322297c37c3059074a2bbcd0a19728..cb322d7bbe8ed750f4b51a80aa2b7fc0cb12c565 100644 |
--- a/Source/web/tests/GraphicsLayerTest.cpp |
+++ b/Source/web/tests/GraphicsLayerTest.cpp |
@@ -94,7 +94,7 @@ TEST_F(GraphicsLayerTest, updateLayerPreserves3DWithAnimations) |
curve->add(WebFloatKeyframe(0.0, 0.0)); |
OwnPtr<WebAnimation> floatAnimation(adoptPtr(Platform::current()->compositorSupport()->createAnimation(*curve, WebAnimation::TargetPropertyOpacity))); |
int animationId = floatAnimation->id(); |
- ASSERT_TRUE(m_platformLayer->addAnimation(floatAnimation.get())); |
+ ASSERT_TRUE(m_platformLayer->addAnimation(floatAnimation.release())); |
ASSERT_TRUE(m_platformLayer->hasActiveAnimation()); |