| Index: mojo/services/gles2/gpu_impl.h
|
| diff --git a/mojo/services/gles2/gpu_impl.h b/mojo/services/gles2/gpu_impl.h
|
| index 0949f745e3fe95d8686acff40cb884ad71156ed1..62a8af69c5407a8049805dc3c9abc45faf8c7fab 100644
|
| --- a/mojo/services/gles2/gpu_impl.h
|
| +++ b/mojo/services/gles2/gpu_impl.h
|
| @@ -4,8 +4,8 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "mojo/public/cpp/bindings/interface_impl.h"
|
| #include "mojo/public/cpp/bindings/interface_request.h"
|
| +#include "mojo/public/cpp/bindings/strong_binding.h"
|
| #include "mojo/services/public/interfaces/geometry/geometry.mojom.h"
|
| #include "mojo/services/public/interfaces/gpu/command_buffer.mojom.h"
|
| #include "mojo/services/public/interfaces/gpu/gpu.mojom.h"
|
| @@ -22,9 +22,10 @@ class MailboxManager;
|
|
|
| namespace mojo {
|
|
|
| -class GpuImpl : public InterfaceImpl<Gpu> {
|
| +class GpuImpl : public Gpu {
|
| public:
|
| - GpuImpl(const scoped_refptr<gfx::GLShareGroup>& share_group,
|
| + GpuImpl(InterfaceRequest<Gpu> request,
|
| + const scoped_refptr<gfx::GLShareGroup>& share_group,
|
| const scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager);
|
|
|
| ~GpuImpl() override;
|
| @@ -43,6 +44,8 @@ class GpuImpl : public InterfaceImpl<Gpu> {
|
| scoped_refptr<gfx::GLShareGroup> share_group_;
|
| scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
|
|
|
| + StrongBinding<Gpu> binding_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GpuImpl);
|
| };
|
|
|
|
|