Index: services/ui/public/cpp/gles2_context.h |
diff --git a/services/ui/public/cpp/gles2_context.h b/services/ui/public/cpp/gles2_context.h |
index 5ff9da0c19ce14a9b3b07aa6491ca70866a1939f..2cfedc258e22d0a6a955cec6da97fe7f53cc204c 100644 |
--- a/services/ui/public/cpp/gles2_context.h |
+++ b/services/ui/public/cpp/gles2_context.h |
@@ -36,11 +36,13 @@ class GLES2Context { |
gpu::ContextSupport* context_support() const { return implementation_.get(); } |
static std::unique_ptr<GLES2Context> CreateOffscreenContext( |
- scoped_refptr<gpu::GpuChannelHost> gpu_channel_host); |
+ scoped_refptr<gpu::GpuChannelHost> gpu_channel_host, |
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner); |
private: |
GLES2Context(); |
- bool Initialize(scoped_refptr<gpu::GpuChannelHost> gpu_channel_host); |
+ bool Initialize(scoped_refptr<gpu::GpuChannelHost> gpu_channel_host, |
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner); |
std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_proxy_impl_; |
std::unique_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_; |