Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index ae331e5a4a080d4cf275e8cb35d2caf30011a28a..c68e1597f62d0bd3ba31afb4fcce302f552d583a 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -12670,7 +12670,8 @@ error::Error GLES2DecoderImpl::HandleWaitSyncTokenCHROMIUM( |
(c.namespace_id < static_cast<int32_t>(kMaxNamespaceId))) |
? static_cast<gpu::CommandBufferNamespace>(c.namespace_id) |
: gpu::CommandBufferNamespace::INVALID; |
- const uint64_t command_buffer_id = c.command_buffer_id(); |
+ const CommandBufferId command_buffer_id = |
+ CommandBufferId::FromUnsafeValue(c.command_buffer_id()); |
const uint64_t release = c.release_count(); |
if (wait_fence_sync_callback_.is_null()) |
return error::kNoError; |