diff options
Diffstat (limited to 'components/script/dom/webxr/xrtest.rs')
-rw-r--r-- | components/script/dom/webxr/xrtest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webxr/xrtest.rs b/components/script/dom/webxr/xrtest.rs index 0117ab5c3ce..02c090b2a1f 100644 --- a/components/script/dom/webxr/xrtest.rs +++ b/components/script/dom/webxr/xrtest.rs @@ -45,7 +45,7 @@ impl XRTest { } pub fn new(global: &GlobalScope) -> DomRoot<XRTest> { - reflect_dom_object(Box::new(XRTest::new_inherited()), global) + reflect_dom_object(Box::new(XRTest::new_inherited()), global, CanGc::note()) } fn device_obtained( |