diff options
Diffstat (limited to 'components/script/dom/gpubuffer.rs')
-rw-r--r-- | components/script/dom/gpubuffer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/gpubuffer.rs b/components/script/dom/gpubuffer.rs index 10ced4a654e..7cdffaa7292 100644 --- a/components/script/dom/gpubuffer.rs +++ b/components/script/dom/gpubuffer.rs @@ -159,7 +159,7 @@ impl GPUBufferMethods for GPUBuffer { WebGPURequest::UnmapBuffer { buffer_id: self.id().0, device_id: self.device.id().0, - array_buffer: IpcSharedMemory::from_bytes(&*m_info.mapping.lock().unwrap()), + array_buffer: IpcSharedMemory::from_bytes(&m_info.mapping.lock().unwrap()), is_map_read: m_info.map_mode == Some(GPUMapModeConstants::READ), offset: m_range.start, size: m_range.end - m_range.start, |