| Index: gpu/command_buffer/client/gles2_implementation.cc
|
| diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
|
| index 84f8ef73821fa5b2f2606f62b66e1790e69dda3d..ca183fe2b5754e26452e27f5fa3365d8bad2d424 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation.cc
|
| @@ -111,7 +111,7 @@ GLES2Implementation::SingleThreadChecker::~SingleThreadChecker() {
|
|
|
| GLES2Implementation::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,
|
| @@ -181,7 +181,7 @@ GLES2Implementation::GLES2Implementation(
|
| });
|
|
|
| share_group_ =
|
| - (share_group ? share_group
|
| + (share_group ? std::move(share_group)
|
| : new ShareGroup(
|
| bind_generates_resource,
|
| gpu_control_->GetCommandBufferID().GetUnsafeValue()));
|
|
|