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 ed487d019faa26d98acc5aa2d0a7f25b8cca3c69..0c83704115c61f4e8efa783d0809129bbd3bb717 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -12617,7 +12617,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; |