aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/xr.rs')
-rw-r--r--components/script/dom/xr.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/xr.rs b/components/script/dom/xr.rs
index 98d018eb0f9..dae63a4baca 100644
--- a/components/script/dom/xr.rs
+++ b/components/script/dom/xr.rs
@@ -57,7 +57,6 @@ impl Drop for XR {
}
impl XRMethods for XR {
- #[allow(unrooted_must_root)]
/// https://immersive-web.github.io/webxr/#dom-xr-supportssessionmode
fn SupportsSessionMode(&self, mode: XRSessionMode) -> Rc<Promise> {
// XXXManishearth this should select an XR device first
@@ -72,7 +71,6 @@ impl XRMethods for XR {
promise
}
- #[allow(unrooted_must_root)]
/// https://immersive-web.github.io/webxr/#dom-xr-requestsession
fn RequestSession(&self, options: &XRSessionCreationOptions) -> Rc<Promise> {
let promise = Promise::new(&self.global());