Chromium Code Reviews| Index: ui/compositor/layer_animation_sequence.cc |
| diff --git a/ui/compositor/layer_animation_sequence.cc b/ui/compositor/layer_animation_sequence.cc |
| index f4919f381a177dfec53e57824254c4ff5e19a194..7c074a67d3be469b75fbc072b4a0c6d93a50e97d 100644 |
| --- a/ui/compositor/layer_animation_sequence.cc |
| +++ b/ui/compositor/layer_animation_sequence.cc |
| @@ -184,7 +184,7 @@ void LayerAnimationSequence::Abort(LayerAnimationDelegate* delegate) { |
| void LayerAnimationSequence::AddElement(LayerAnimationElement* element) { |
|
loyso (OOO)
2016/12/06 04:21:56
AddElement(std::unique_ptr<LayerAnimationElement>
|
| properties_ |= element->properties(); |
| - elements_.push_back(make_linked_ptr(element)); |
| + elements_.emplace_back(element); |
|
loyso (OOO)
2016/12/06 04:21:56
push_back(std::move(element))
|
| } |
| bool LayerAnimationSequence::HasConflictingProperty( |