aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performance.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-04-03 13:30:30 +0200
committerMs2ger <ms2ger@gmail.com>2015-04-03 20:47:53 +0200
commitc2e81be8a59cea5e58ebc3c3d05141c5ab023a46 (patch)
tree266ff3be76ad65d37921b744d535537884824fc1 /components/script/dom/performance.rs
parent74f8c0eeb714fb7ca7964b36f1b82849e8a345ee (diff)
downloadservo-c2e81be8a59cea5e58ebc3c3d05141c5ab023a46.tar.gz
servo-c2e81be8a59cea5e58ebc3c3d05141c5ab023a46.zip
Stop using int/uint in script.
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 45fa9ffe002..ef0238ea4fc 100644
--- a/components/script/dom/performance.rs
+++ b/components/script/dom/performance.rs
@@ -51,7 +51,7 @@ impl<'a> PerformanceMethods for JSRef<'a, 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 now = (time::precise_time_ns() as f64 - navStart) * 1000000u as f64;
+ let now = (time::precise_time_ns() as f64 - navStart) * 1000000 as f64;
Finite::wrap(now)
}
}