aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performance.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-10-17 15:28:26 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-10-19 09:37:05 +0200
commitb0d1ccdf5f174ca893ffaba139e2207fdaece020 (patch)
treed2cfd367aa7ef96dff34968c147fe71a320d5963 /components/script/dom/performance.rs
parent17cd4202e7d76bf155664eae64dfd0233f3165cc (diff)
downloadservo-b0d1ccdf5f174ca893ffaba139e2207fdaece020.tar.gz
servo-b0d1ccdf5f174ca893ffaba139e2207fdaece020.zip
Do not root Performance::timing
Diffstat (limited to 'components/script/dom/performance.rs')
-rw-r--r--components/script/dom/performance.rs2
1 files changed, 1 insertions, 1 deletions
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)
}