Index: cc/trees/threaded_channel.cc |
diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc |
index 0ee9469674b6b1295b003bd065f16160769a9d72..113da6fd2cff501eb488b79915d8ffb0beeece53 100644 |
--- a/cc/trees/threaded_channel.cc |
+++ b/cc/trees/threaded_channel.cc |
@@ -287,8 +287,9 @@ void ThreadedChannel::InitializeImplOnImpl( |
impl().proxy_impl = |
CreateProxyImpl(this, layer_tree_host, task_runner_provider_, |
std::move(external_begin_frame_source)); |
- impl().proxy_impl_weak_factory = base::WrapUnique( |
- new base::WeakPtrFactory<ProxyImpl>(impl().proxy_impl.get())); |
+ impl().proxy_impl_weak_factory = |
+ base::MakeUnique<base::WeakPtrFactory<ProxyImpl>>( |
+ impl().proxy_impl.get()); |
proxy_impl_weak_ptr_ = impl().proxy_impl_weak_factory->GetWeakPtr(); |
completion->Signal(); |
} |