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

Unified Diff: cc/test/layer_tree_test.cc

Issue 2513863002: cc: Delete channel abstraction between proxies. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/test/fake_channel_impl.cc ('k') | cc/trees/channel_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 59996875dee7707588c322ca87f13a7f603a67cd..db75f9d70069fd3a44e642137b2f2bfcb16aeff3 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -36,7 +36,6 @@
#include "cc/trees/proxy_impl.h"
#include "cc/trees/proxy_main.h"
#include "cc/trees/single_thread_proxy.h"
-#include "cc/trees/threaded_channel.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "ui/gfx/geometry/size_conversions.h"
@@ -367,8 +366,8 @@ class LayerTreeHostForTesting : public LayerTreeHostInProcess {
break;
case CompositorMode::THREADED:
DCHECK(impl_task_runner.get());
- proxy = ProxyMain::CreateThreaded(layer_tree_host.get(),
- task_runner_provider.get());
+ proxy = base::MakeUnique<ProxyMain>(layer_tree_host.get(),
+ task_runner_provider.get());
break;
case CompositorMode::REMOTE:
NOTREACHED();
« no previous file with comments | « cc/test/fake_channel_impl.cc ('k') | cc/trees/channel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698