| Index: services/ui/gpu/gpu_main.h
|
| diff --git a/services/ui/gpu/gpu_main.h b/services/ui/gpu/gpu_main.h
|
| index ede99136a4766a7cfe7ed398efa29e26ec880037..b1dde2b2bc92369c8902e4e578b6c5d4ffd759b0 100644
|
| --- a/services/ui/gpu/gpu_main.h
|
| +++ b/services/ui/gpu/gpu_main.h
|
| @@ -28,7 +28,11 @@ class GpuMain : public gpu::GpuSandboxHelper {
|
| GpuServiceInternal* gpu_service() { return gpu_service_internal_.get(); }
|
|
|
| private:
|
| - void InitOnGpuThread();
|
| + void InitOnGpuThread(
|
| + scoped_refptr<base::SingleThreadTaskRunner> io_runner,
|
| + scoped_refptr<base::SingleThreadTaskRunner> compositor_runner);
|
| +
|
| + void TearDownOnCompositorThread();
|
| void TearDownOnGpuThread();
|
| void CreateOnGpuThread(mojom::GpuServiceInternalRequest request);
|
|
|
| @@ -47,6 +51,9 @@ class GpuMain : public gpu::GpuSandboxHelper {
|
| // The thread that handles IO events for GpuService.
|
| base::Thread io_thread_;
|
|
|
| + // The thread used for the display compositor.
|
| + base::Thread compositor_thread_;
|
| +
|
| base::WeakPtrFactory<GpuMain> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GpuMain);
|
|
|