aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performancenavigation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/performancenavigation.rs')
-rw-r--r--components/script/dom/performancenavigation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/performancenavigation.rs b/components/script/dom/performancenavigation.rs
index 69f155850fb..291bb4f7345 100644
--- a/components/script/dom/performancenavigation.rs
+++ b/components/script/dom/performancenavigation.rs
@@ -25,11 +25,11 @@ impl PerformanceNavigation {
}
}
- pub(crate) fn new(global: &GlobalScope) -> DomRoot<PerformanceNavigation> {
+ pub(crate) fn new(global: &GlobalScope, can_gc: CanGc) -> DomRoot<PerformanceNavigation> {
reflect_dom_object(
Box::new(PerformanceNavigation::new_inherited()),
global,
- CanGc::note(),
+ can_gc,
)
}
}