aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglsync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webglsync.rs')
-rw-r--r--components/script/dom/webglsync.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/components/script/dom/webglsync.rs b/components/script/dom/webglsync.rs
index c26eb839eed..dd94e8090e8 100644
--- a/components/script/dom/webglsync.rs
+++ b/components/script/dom/webglsync.rs
@@ -2,6 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
+use std::cell::Cell;
+
+use canvas_traits::webgl::{webgl_channel, WebGLCommand, WebGLSyncId};
+use dom_struct::dom_struct;
+
use crate::dom::bindings::codegen::Bindings::WebGL2RenderingContextBinding::WebGL2RenderingContextConstants as constants;
use crate::dom::bindings::inheritance::Castable;
use crate::dom::bindings::refcounted::Trusted;
@@ -10,9 +15,6 @@ use crate::dom::bindings::root::DomRoot;
use crate::dom::webglobject::WebGLObject;
use crate::dom::webglrenderingcontext::{Operation, WebGLRenderingContext};
use crate::task_source::TaskSource;
-use canvas_traits::webgl::{webgl_channel, WebGLCommand, WebGLSyncId};
-use dom_struct::dom_struct;
-use std::cell::Cell;
#[dom_struct]
pub struct WebGLSync {