| Index: services/ui/ws/gpu_service_proxy.cc
|
| diff --git a/services/ui/ws/gpu_service_proxy.cc b/services/ui/ws/gpu_service_proxy.cc
|
| index e5b993d55072b80b3347152cd87239df51c06d2b..83c007279671d5f80f0565a2e784ebd26447beff 100644
|
| --- a/services/ui/ws/gpu_service_proxy.cc
|
| +++ b/services/ui/ws/gpu_service_proxy.cc
|
| @@ -23,12 +23,14 @@ const uint64_t kInternalGpuChannelClientTracingId = 1;
|
|
|
| } // namespace
|
|
|
| -GpuServiceProxy::GpuServiceProxy(GpuServiceProxyDelegate* delegate)
|
| +GpuServiceProxy::GpuServiceProxy(GpuServiceProxyDelegate* delegate,
|
| + shell::Connector* connector)
|
| : delegate_(delegate),
|
| next_client_id_(kInternalGpuChannelClientId),
|
| main_thread_task_runner_(base::ThreadTaskRunnerHandle::Get()),
|
| shutdown_event_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
|
| - base::WaitableEvent::InitialState::NOT_SIGNALED) {
|
| + base::WaitableEvent::InitialState::NOT_SIGNALED),
|
| + gpu_main_(connector) {
|
| // TODO(sad): Once GPU process is split, this would look like:
|
| // connector->ConnectToInterface("mojo:gpu", &gpu_service_);
|
| gpu_main_.Add(GetProxy(&gpu_service_));
|
|
|