| Index: gpu/command_buffer/client/gles2_implementation.h
|
| diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h
|
| index 14c057791f9da05b698708e315b81d0e13c794db..23696ce076c6e81101de8d249b5363feb9e2cccc 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation.h
|
| @@ -160,7 +160,7 @@ class GLES2_IMPL_EXPORT GLES2Implementation
|
| static const size_t kMaxSwapBuffers = 2;
|
|
|
| GLES2Implementation(GLES2CmdHelper* helper,
|
| - ShareGroup* share_group,
|
| + scoped_refptr<ShareGroup> share_group,
|
| TransferBufferInterface* transfer_buffer,
|
| bool bind_generates_resource,
|
| bool lose_context_when_out_of_memory,
|
| @@ -262,9 +262,7 @@ class GLES2_IMPL_EXPORT GLES2Implementation
|
| bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,
|
| base::trace_event::ProcessMemoryDump* pmd) override;
|
|
|
| - ShareGroup* share_group() const {
|
| - return share_group_.get();
|
| - }
|
| + const scoped_refptr<ShareGroup>& share_group() const { return share_group_; }
|
|
|
| const Capabilities& capabilities() const {
|
| return capabilities_;
|
|
|