mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
clippy: fix warnings in various modules in components (#31568)
* clippy: fix warnings in various modules in components * fix: unit tests * fix: build on android * fix: all samplers use new_boxed
This commit is contained in:
parent
19f1f2a8f4
commit
3a5ca785d3
24 changed files with 107 additions and 118 deletions
|
@ -387,7 +387,7 @@ where
|
|||
embedder.register_webxr(&mut webxr_main_thread, embedder_proxy.clone());
|
||||
}
|
||||
|
||||
let wgpu_image_handler = webgpu::WGPUExternalImages::new();
|
||||
let wgpu_image_handler = webgpu::WGPUExternalImages::default();
|
||||
let wgpu_image_map = wgpu_image_handler.images.clone();
|
||||
external_image_handlers.set_handler(
|
||||
Box::new(wgpu_image_handler),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue