Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2876)

Unified Diff: cc/trees/layer_tree_host.cc

Issue 2158973002: cc: Clean up LayerTreeTest and TestHooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: proxy-impls: test Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/channel_main.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « cc/trees/channel_main.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698