aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglsampler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webglsampler.rs')
-rw-r--r--components/script/dom/webglsampler.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/components/script/dom/webglsampler.rs b/components/script/dom/webglsampler.rs
index ec68328fab9..37147d3d261 100644
--- a/components/script/dom/webglsampler.rs
+++ b/components/script/dom/webglsampler.rs
@@ -2,16 +2,18 @@
* 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::WebGLError::*;
+use canvas_traits::webgl::{webgl_channel, WebGLCommand, WebGLSamplerId};
+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::reflector::{reflect_dom_object, DomObject};
use crate::dom::bindings::root::DomRoot;
use crate::dom::webglobject::WebGLObject;
use crate::dom::webglrenderingcontext::{Operation, WebGLRenderingContext};
-use canvas_traits::webgl::WebGLError::*;
-use canvas_traits::webgl::{webgl_channel, WebGLCommand, WebGLSamplerId};
-use dom_struct::dom_struct;
-use std::cell::Cell;
#[dom_struct]
pub struct WebGLSampler {