diff options
author | Auguste Baum <52001167+augustebaum@users.noreply.github.com> | 2025-02-23 01:34:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-23 00:34:51 +0000 |
commit | b0b0289014b707505a6921152b9ecba75afa207f (patch) | |
tree | f2ffba650cf28da83904b14e94ba3913967951f2 /components/script/dom/webgpu/gpuadapter.rs | |
parent | 02199520f2b611c9b5ab7b34a2372689cb4c22cd (diff) | |
download | servo-b0b0289014b707505a6921152b9ecba75afa207f.tar.gz servo-b0b0289014b707505a6921152b9ecba75afa207f.zip |
refactor: propagate CanGc arguments through callers (#35591)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
Diffstat (limited to 'components/script/dom/webgpu/gpuadapter.rs')
-rw-r--r-- | components/script/dom/webgpu/gpuadapter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webgpu/gpuadapter.rs b/components/script/dom/webgpu/gpuadapter.rs index 6794a89345c..81af8d60340 100644 --- a/components/script/dom/webgpu/gpuadapter.rs +++ b/components/script/dom/webgpu/gpuadapter.rs @@ -245,7 +245,7 @@ impl AsyncWGPUListener for GPUAdapter { String::new(), can_gc, ); - device.lose(GPUDeviceLostReason::Unknown, e.to_string()); + device.lose(GPUDeviceLostReason::Unknown, e.to_string(), can_gc); promise.resolve_native(&device); }, WebGPUResponse::None => unreachable!("Failed to get a response for RequestDevice"), |