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

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
« no previous file with comments | « services/ui/service.h ('k') | services/ui/ws/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.cc
diff --git a/services/ui/service.cc b/services/ui/service.cc
index 2fd9314c115568f793bffb82a4fa2a33c072f97c..5ee378f4711e474a1ea834d4e3407da5f6353b9b 100644
--- a/services/ui/service.cc
+++ b/services/ui/service.cc
@@ -179,8 +179,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));
@@ -286,7 +284,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,
« no previous file with comments | « services/ui/service.h ('k') | services/ui/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698