| Index: third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp b/third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp
|
| index 13f7f2e4c8957312feba343e79f59c66b9f1f1b5..04fa244c8ab8b5dc67ad1e8931fa215a02122cf2 100644
|
| --- a/third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp
|
| @@ -59,10 +59,10 @@ static KeyframeEffect* updateInfiniteKeyframeEffect(const KeyframeEffect& keyfra
|
| static Animation* createOrUpdateAnimation(Animation* animation, Element& element, CSSPropertyID propertyId, PassRefPtr<AnimatableValue> newValue)
|
| {
|
| if (!animation) {
|
| - KeyframeEffect* keyframeEffect = createInfiniteKeyFrameEffect(element, propertyId, newValue);
|
| + KeyframeEffect* keyframeEffect = createInfiniteKeyFrameEffect(element, propertyId, std::move(newValue));
|
| return element.document().timeline().play(keyframeEffect);
|
| }
|
| - KeyframeEffect* keyframeEffect = updateInfiniteKeyframeEffect(*toKeyframeEffect(animation->effect()), propertyId, newValue);
|
| + KeyframeEffect* keyframeEffect = updateInfiniteKeyframeEffect(*toKeyframeEffect(animation->effect()), propertyId, std::move(newValue));
|
| animation->setEffect(keyframeEffect);
|
| return animation;
|
| }
|
|
|