diff options
Diffstat (limited to 'components/script/dom/gpubuffer.rs')
-rw-r--r-- | components/script/dom/gpubuffer.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/components/script/dom/gpubuffer.rs b/components/script/dom/gpubuffer.rs index bfffb98bd73..e48768ea514 100644 --- a/components/script/dom/gpubuffer.rs +++ b/components/script/dom/gpubuffer.rs @@ -382,15 +382,5 @@ impl AsyncWGPUListener for GPUBuffer { None => unreachable!("Failed to get a response for BufferMapAsync"), } *self.map_promise.borrow_mut() = None; - if let Err(e) = self - .channel - .0 - .send((None, WebGPURequest::BufferMapComplete(self.buffer.0))) - { - warn!( - "Failed to send BufferMapComplete({:?}) ({})", - self.buffer.0, e - ); - } } } |