From b0d1ccdf5f174ca893ffaba139e2207fdaece020 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sat, 17 Oct 2015 15:28:26 +0200 Subject: [PATCH] Do not root Performance::timing --- components/script/dom/performance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/performance.rs b/components/script/dom/performance.rs index 2d0a5990cdc..b8b6c17ef09 100644 --- a/components/script/dom/performance.rs +++ b/components/script/dom/performance.rs @@ -51,7 +51,7 @@ impl PerformanceMethods for Performance { // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HighResolutionTime/Overview.html#dom-performance-now fn Now(&self) -> DOMHighResTimeStamp { - let navStart = self.timing.root().r().NavigationStartPrecise(); + let navStart = self.timing.NavigationStartPrecise(); let now = (time::precise_time_ns() as f64 - navStart) / 1000000 as f64; Finite::wrap(now) }