| 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 3a18ee5b6788248f18d364f5df7f7079a73ad172..fc051b1fad3bfa6b1a9d2c61c2999cde84f192ee 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation.cc
|
| @@ -147,8 +147,9 @@ GLES2Implementation::GLES2Implementation(
|
|
|
| share_group_ =
|
| (share_group ? share_group
|
| - : new ShareGroup(bind_generates_resource,
|
| - gpu_control_->GetCommandBufferID()));
|
| + : new ShareGroup(
|
| + bind_generates_resource,
|
| + gpu_control_->GetCommandBufferID().GetUnsafeValue()));
|
| DCHECK(share_group_->bind_generates_resource() == bind_generates_resource);
|
|
|
| memset(&reserved_ids_, 0, sizeof(reserved_ids_));
|
| @@ -5650,7 +5651,8 @@ void GLES2Implementation::WaitSyncTokenCHROMIUM(const GLbyte* sync_token) {
|
|
|
| helper_->WaitSyncTokenCHROMIUM(
|
| static_cast<GLint>(sync_token_data.namespace_id()),
|
| - sync_token_data.command_buffer_id(), sync_token_data.release_count());
|
| + sync_token_data.command_buffer_id().GetUnsafeValue(),
|
| + sync_token_data.release_count());
|
| }
|
| }
|
| }
|
|
|