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

Unified Diff: services/ui/public/cpp/gpu_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/gpu/mus_gpu_memory_buffer_manager.cc ('k') | services/ui/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/gpu_service.cc
diff --git a/services/ui/public/cpp/gpu_service.cc b/services/ui/public/cpp/gpu_service.cc
index 4bc79c89699ddff63fe7c5c7026690386a88c5f7..3e1667da25f9cda815c67c882e4b32e2b8a36461 100644
--- a/services/ui/public/cpp/gpu_service.cc
+++ b/services/ui/public/cpp/gpu_service.cc
@@ -114,11 +114,9 @@ void GpuService::OnEstablishedGpuChannel(
DCHECK(!gpu_channel_);
if (client_id) {
- // TODO(penghuang): Get the real gpu info from mus.
gpu_channel_ = gpu::GpuChannelHost::Create(
- this, client_id, gpu::GPUInfo(),
- IPC::ChannelHandle(channel_handle.release()), &shutdown_event_,
- gpu_memory_buffer_manager_.get());
+ this, client_id, gpu_info, IPC::ChannelHandle(channel_handle.release()),
+ &shutdown_event_, gpu_memory_buffer_manager_.get());
}
gpu_service_.reset();
« no previous file with comments | « services/ui/gpu/mus_gpu_memory_buffer_manager.cc ('k') | services/ui/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698