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

Unified Diff: cc/trees/proxy_main.cc

Issue 2494623002: cc: Remove client/engine LayerTreeHostInProcess. (Closed)
Patch Set: .. 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/trees/proxy_main.h ('k') | cc/trees/remote_channel_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_main.cc
diff --git a/cc/trees/proxy_main.cc b/cc/trees/proxy_main.cc
index 546b81b7bf369cdb45900e7e3006d6dc7987ce2e..513f84dc9ffc67328ed04ea5f703d9ce29eb8649 100644
--- a/cc/trees/proxy_main.cc
+++ b/cc/trees/proxy_main.cc
@@ -18,7 +18,6 @@
#include "cc/trees/blocking_task_runner.h"
#include "cc/trees/layer_tree_host_in_process.h"
#include "cc/trees/mutator_host.h"
-#include "cc/trees/remote_channel_main.h"
#include "cc/trees/scoped_abort_remaining_swap_promises.h"
#include "cc/trees/threaded_channel.h"
@@ -34,17 +33,6 @@ std::unique_ptr<ProxyMain> ProxyMain::CreateThreaded(
return proxy_main;
}
-std::unique_ptr<ProxyMain> ProxyMain::CreateRemote(
- RemoteProtoChannel* remote_proto_channel,
- LayerTreeHostInProcess* layer_tree_host,
- TaskRunnerProvider* task_runner_provider) {
- std::unique_ptr<ProxyMain> proxy_main(
- new ProxyMain(layer_tree_host, task_runner_provider));
- proxy_main->SetChannel(RemoteChannelMain::Create(
- remote_proto_channel, proxy_main.get(), task_runner_provider));
- return proxy_main;
-}
-
ProxyMain::ProxyMain(LayerTreeHostInProcess* layer_tree_host,
TaskRunnerProvider* task_runner_provider)
: layer_tree_host_(layer_tree_host),
@@ -351,7 +339,7 @@ void ProxyMain::MainThreadHasStoppedFlinging() {
void ProxyMain::Start() {
DCHECK(IsMainThread());
- DCHECK(layer_tree_host_->IsThreaded() || layer_tree_host_->IsRemoteServer());
+ DCHECK(layer_tree_host_->IsThreaded());
DCHECK(channel_main_);
// Create LayerTreeHostImpl.
« no previous file with comments | « cc/trees/proxy_main.h ('k') | cc/trees/remote_channel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698