aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgltexture.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgltexture.rs')
-rw-r--r--components/script/dom/webgltexture.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webgltexture.rs b/components/script/dom/webgltexture.rs
index 2c1fe129ac9..299e0267f0e 100644
--- a/components/script/dom/webgltexture.rs
+++ b/components/script/dom/webgltexture.rs
@@ -10,8 +10,8 @@ use std::cell::Cell;
use std::cmp;
use canvas_traits::webgl::{
- webgl_channel, TexDataType, TexFormat, TexParameter, TexParameterBool, TexParameterInt,
- WebGLCommand, WebGLError, WebGLResult, WebGLTextureId,
+ TexDataType, TexFormat, TexParameter, TexParameterBool, TexParameterInt, WebGLCommand,
+ WebGLError, WebGLResult, WebGLTextureId, webgl_channel,
};
use dom_struct::dom_struct;
@@ -19,7 +19,7 @@ use crate::dom::bindings::cell::DomRefCell;
use crate::dom::bindings::codegen::Bindings::EXTTextureFilterAnisotropicBinding::EXTTextureFilterAnisotropicConstants;
use crate::dom::bindings::codegen::Bindings::WebGL2RenderingContextBinding::WebGL2RenderingContextConstants as constants;
use crate::dom::bindings::inheritance::Castable;
-use crate::dom::bindings::reflector::{reflect_dom_object, DomGlobal};
+use crate::dom::bindings::reflector::{DomGlobal, reflect_dom_object};
use crate::dom::bindings::root::{Dom, DomRoot, MutNullableDom};
use crate::dom::webgl_validations::types::TexImageTarget;
use crate::dom::webglframebuffer::WebGLFramebuffer;