mirror of
https://github.com/servo/servo
synced 2026-04-27 18:07:52 +02:00
refactor: add CanGc as argument to Promise::resolve (#35616)
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
committed by
GitHub
parent
adb831eefe
commit
0383ba9a5b
@@ -134,7 +134,7 @@ impl AsyncWGPUListener for GPUShaderModule {
|
||||
match response {
|
||||
WebGPUResponse::CompilationInfo(info) => {
|
||||
let info = GPUCompilationInfo::from(&self.global(), info, can_gc);
|
||||
promise.resolve_native(&info);
|
||||
promise.resolve_native(&info, can_gc);
|
||||
},
|
||||
_ => unreachable!("Wrong response received on AsyncWGPUListener for GPUShaderModule"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user