| Index: cc/animation/animation_host.cc
|
| diff --git a/cc/animation/animation_host.cc b/cc/animation/animation_host.cc
|
| index 148a0afe0ae62c63d2178675e1bdd4b8568c06bc..61489094ce75220abe3115dabc16275306014477 100644
|
| --- a/cc/animation/animation_host.cc
|
| +++ b/cc/animation/animation_host.cc
|
| @@ -46,10 +46,9 @@ AnimationHost::AnimationHost(ThreadInstance thread_instance)
|
| animation_waiting_for_deletion_(false) {
|
| if (thread_instance_ == ThreadInstance::IMPL) {
|
| scroll_offset_animations_impl_ =
|
| - base::WrapUnique(new ScrollOffsetAnimationsImpl(this));
|
| + base::MakeUnique<ScrollOffsetAnimationsImpl>(this);
|
| } else {
|
| - scroll_offset_animations_ =
|
| - base::WrapUnique(new ScrollOffsetAnimations(this));
|
| + scroll_offset_animations_ = base::MakeUnique<ScrollOffsetAnimations>(this);
|
| }
|
| }
|
|
|
| @@ -295,7 +294,7 @@ bool AnimationHost::UpdateAnimationState(bool start_ready_animations,
|
| }
|
|
|
| std::unique_ptr<AnimationEvents> AnimationHost::CreateEvents() {
|
| - return base::WrapUnique(new AnimationEvents());
|
| + return base::MakeUnique<AnimationEvents>();
|
| }
|
|
|
| void AnimationHost::SetAnimationEvents(
|
|
|