aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpushadermodule.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgpu/gpushadermodule.rs')
-rw-r--r--components/script/dom/webgpu/gpushadermodule.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/components/script/dom/webgpu/gpushadermodule.rs b/components/script/dom/webgpu/gpushadermodule.rs
index fd9e65788c8..79d1325cf0f 100644
--- a/components/script/dom/webgpu/gpushadermodule.rs
+++ b/components/script/dom/webgpu/gpushadermodule.rs
@@ -95,7 +95,14 @@ impl GPUShaderModule {
promise.clone(),
can_gc,
);
- let sender = route_promise(&promise, &*shader_module);
+ let sender = route_promise(
+ &promise,
+ &*shader_module,
+ device
+ .global()
+ .task_manager()
+ .dom_manipulation_task_source(),
+ );
device
.channel()
.0