mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
changed f64 to u64 for navigation start timing until it had to be float
This commit is contained in:
parent
b23131abf1
commit
0a09ee5cd8
13 changed files with 66 additions and 66 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue