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 a53b9b0e9e8cd88f05d59e620532b78a0ce5c1e4..266698ac1a0b29c634137c7502e8bc31e50235ec 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_)); |
@@ -5656,7 +5657,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()); |
} |
} |
} |