aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpucanvascontext.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgpu/gpucanvascontext.rs')
-rw-r--r--components/script/dom/webgpu/gpucanvascontext.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webgpu/gpucanvascontext.rs b/components/script/dom/webgpu/gpucanvascontext.rs
index 3b9abd27dce..fd621ebc335 100644
--- a/components/script/dom/webgpu/gpucanvascontext.rs
+++ b/components/script/dom/webgpu/gpucanvascontext.rs
@@ -12,10 +12,10 @@ use script_layout_interface::HTMLCanvasDataSource;
use webgpu::swapchain::WebGPUContextId;
use webgpu::wgc::id;
use webgpu::{
- ContextConfiguration, WebGPU, WebGPURequest, WebGPUTexture, PRESENTATION_BUFFER_COUNT,
+ ContextConfiguration, PRESENTATION_BUFFER_COUNT, WebGPU, WebGPURequest, WebGPUTexture,
};
-use webrender_api::units::DeviceIntSize;
use webrender_api::ImageKey;
+use webrender_api::units::DeviceIntSize;
use super::gpuconvert::convert_texture_descriptor;
use super::gputexture::GPUTexture;
@@ -30,7 +30,7 @@ use crate::dom::bindings::codegen::Bindings::WebGPUBinding::{
};
use crate::dom::bindings::codegen::UnionTypes::HTMLCanvasElementOrOffscreenCanvas;
use crate::dom::bindings::error::{Error, Fallible};
-use crate::dom::bindings::reflector::{reflect_dom_object, DomGlobal, Reflector};
+use crate::dom::bindings::reflector::{DomGlobal, Reflector, reflect_dom_object};
use crate::dom::bindings::root::{DomRoot, LayoutDom, MutNullableDom};
use crate::dom::bindings::str::USVString;
use crate::dom::bindings::weakref::WeakRef;