changed f64 to u64 for navigation start timing until it had to be float

This commit is contained in:
ddh 2017-10-31 23:37:00 +00:00
parent b23131abf1
commit 0a09ee5cd8
13 changed files with 66 additions and 66 deletions

View file

@ -1311,7 +1311,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
// we get the current time, inform the layout thread about it and remove the
// pending metric from the list.
if !self.pending_paint_metrics.is_empty() {
let paint_time = precise_time_ns() as f64;
let paint_time = precise_time_ns();
let mut to_remove = Vec::new();
// For each pending paint metrics pipeline id
for (id, pending_epoch) in &self.pending_paint_metrics {