Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index aafcd8dcd458f446b06646b9babb914ab158370e..12e0cfff971aac46f37c661d52e777d8ab60d6a6 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -18,6 +18,7 @@ |
#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/location.h" |
+#include "base/memory/ptr_util.h" |
#include "base/metrics/histogram.h" |
#include "base/numerics/safe_math.h" |
#include "base/single_thread_task_runner.h" |
@@ -322,8 +323,8 @@ void LayerTreeHost::InitializeRemoteClient( |
// LayerTreeHost on the client, while the other requests are sent to the |
// RemoteChannelMain on the server which directs them to ProxyMain and the |
// remote server LayerTreeHost. |
- InitializeProxy(RemoteChannelImpl::Create(this, remote_proto_channel, |
- task_runner_provider_.get()), |
+ InitializeProxy(base::MakeUnique<RemoteChannelImpl>( |
+ this, remote_proto_channel, task_runner_provider_.get()), |
nullptr); |
} |