aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xrlayer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/xrlayer.rs')
-rw-r--r--components/script/dom/xrlayer.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/script/dom/xrlayer.rs b/components/script/dom/xrlayer.rs
index 7319eb482dd..3dc3b4dfeea 100644
--- a/components/script/dom/xrlayer.rs
+++ b/components/script/dom/xrlayer.rs
@@ -2,6 +2,10 @@
* 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 canvas_traits::webgl::WebGLContextId;
+use dom_struct::dom_struct;
+use webxr_api::LayerId;
+
use crate::dom::bindings::inheritance::Castable;
use crate::dom::bindings::root::Dom;
use crate::dom::eventtarget::EventTarget;
@@ -9,9 +13,6 @@ use crate::dom::webglrenderingcontext::WebGLRenderingContext;
use crate::dom::xrframe::XRFrame;
use crate::dom::xrsession::XRSession;
use crate::dom::xrwebgllayer::XRWebGLLayer;
-use canvas_traits::webgl::WebGLContextId;
-use dom_struct::dom_struct;
-use webxr_api::LayerId;
#[dom_struct]
pub struct XRLayer {