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

Unified Diff: services/ui/service.cc

Issue 2281583003: services/ui: Split GpuServiceInternal into gpu vs. ws pieces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DONE_2016.08.24_mus-ws-gpu-refactor
Patch Set: tot merge Created 4 years, 4 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
Index: services/ui/service.cc
diff --git a/services/ui/service.cc b/services/ui/service.cc
index c58d1b8abe4391bb13f708d91f1afe8c3954220b..416850424bd5612dfc4d633ca5bf9459fa612339 100644
--- a/services/ui/service.cc
+++ b/services/ui/service.cc
@@ -178,8 +178,6 @@ void Service::OnStart(const shell::Identity& identity) {
// so keep this line below both of those.
input_device_server_.RegisterAsObserver();
- gpu_proxy_.reset(new GpuServiceProxy());
-
// Gpu must be running before the PlatformScreen can be initialized.
window_server_.reset(new ws::WindowServer(this));
@@ -285,7 +283,7 @@ void Service::Create(const shell::Identity& remote_identity,
void Service::Create(const shell::Identity& remote_identity,
mojom::GpuServiceRequest request) {
- gpu_proxy_->Add(std::move(request));
+ window_server_->gpu_proxy()->Add(std::move(request));
}
void Service::Create(const shell::Identity& remote_identity,

Powered by Google App Engine
This is Rietveld 408576698