aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xrframe.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/xrframe.rs')
-rw-r--r--components/script/dom/xrframe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/xrframe.rs b/components/script/dom/xrframe.rs
index bda3cfea978..f3a8a263fd3 100644
--- a/components/script/dom/xrframe.rs
+++ b/components/script/dom/xrframe.rs
@@ -75,7 +75,7 @@ impl XRFrame {
}
}
-impl XRFrameMethods for XRFrame {
+impl XRFrameMethods<crate::DomTypeHolder> for XRFrame {
/// <https://immersive-web.github.io/webxr/#dom-xrframe-session>
fn Session(&self) -> DomRoot<XRSession> {
DomRoot::from_ref(&self.session)