diff options
Diffstat (limited to 'components/script/dom/xrtest.rs')
-rw-r--r-- | components/script/dom/xrtest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/xrtest.rs b/components/script/dom/xrtest.rs index 3356451a9e2..5633a99d864 100644 --- a/components/script/dom/xrtest.rs +++ b/components/script/dom/xrtest.rs @@ -84,7 +84,7 @@ impl XRTestMethods for XRTest { }; let floor_origin = if let Some(ref o) = init.floorOrigin { - match get_origin(&o) { + match get_origin(o) { Ok(origin) => Some(origin), Err(e) => { p.reject_error(e); |