| 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 c32e392c2b4027810a177a4691fcc7f36737294a..5ff9da0c19ce14a9b3b07aa6491ca70866a1939f 100644
|
| --- a/services/ui/public/cpp/gles2_context.h
|
| +++ b/services/ui/public/cpp/gles2_context.h
|
| @@ -14,16 +14,18 @@
|
| #include "gpu/command_buffer/client/gles2_implementation.h"
|
|
|
| namespace gpu {
|
| +
|
| class CommandBufferProxyImpl;
|
| +class GpuChannelHost;
|
| class TransferBuffer;
|
| +
|
| namespace gles2 {
|
| class GLES2CmdHelper;
|
| }
|
| -}
|
|
|
| -namespace ui {
|
| +} // namespace gpu
|
|
|
| -class GpuService;
|
| +namespace ui {
|
|
|
| class GLES2Context {
|
| public:
|
| @@ -34,11 +36,11 @@ class GLES2Context {
|
| gpu::ContextSupport* context_support() const { return implementation_.get(); }
|
|
|
| static std::unique_ptr<GLES2Context> CreateOffscreenContext(
|
| - GpuService* gpu_service);
|
| + scoped_refptr<gpu::GpuChannelHost> gpu_channel_host);
|
|
|
| private:
|
| GLES2Context();
|
| - bool Initialize(GpuService* gpu_service);
|
| + bool Initialize(scoped_refptr<gpu::GpuChannelHost> gpu_channel_host);
|
|
|
| std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_proxy_impl_;
|
| std::unique_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_;
|
|
|