diff options
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 93db23c6201..36914a21507 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -2125,7 +2125,7 @@ impl ScriptThread { WebGPUMsg::FreeCommandBuffer(id) => self .gpu_id_hub .lock() - .kill_command_buffer_id(id.transmute()), + .kill_command_buffer_id(id.into_command_encoder_id()), WebGPUMsg::FreeSampler(id) => self.gpu_id_hub.lock().kill_sampler_id(id), WebGPUMsg::FreeShaderModule(id) => self.gpu_id_hub.lock().kill_shader_module_id(id), WebGPUMsg::FreeRenderBundle(id) => self.gpu_id_hub.lock().kill_render_bundle_id(id), |