Index: third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp |
index b29fea5b5adc3088dce319405832868bf7daba6a..2a1d7540629590d4a8e8e1a1da576825f812d074 100644 |
--- a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp |
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp |
@@ -386,12 +386,12 @@ TEST_F(AnimationCompositorAnimationsTest, |
keyframe->SetOffset(0); |
keyframe->SetPropertyValue(CSSPropertyColor, AnimatableDouble::Create(0)); |
keyframe->SetPropertyValue(CSSPropertyOpacity, AnimatableDouble::Create(0)); |
- frames_mixed_properties.push_back(keyframe.Release()); |
+ frames_mixed_properties.push_back(std::move(keyframe)); |
keyframe = AnimatableValueKeyframe::Create(); |
keyframe->SetOffset(1); |
keyframe->SetPropertyValue(CSSPropertyColor, AnimatableDouble::Create(1)); |
keyframe->SetPropertyValue(CSSPropertyOpacity, AnimatableDouble::Create(1)); |
- frames_mixed_properties.push_back(keyframe.Release()); |
+ frames_mixed_properties.push_back(std::move(keyframe)); |
EXPECT_FALSE(CanStartEffectOnCompositor( |
timing_, |
*AnimatableValueKeyframeEffectModel::Create(frames_mixed_properties))); |