mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Replace time with std::time in components/metrics & components/shared (#31020)
This commit is contained in:
parent
e3e0d8f2c4
commit
92196d985d
8 changed files with 53 additions and 27 deletions
|
@ -113,7 +113,7 @@ impl PerformanceResourceTiming {
|
|||
DOMString::from(url.into_string()),
|
||||
DOMString::from("resource"),
|
||||
resource_timing.start_time as f64,
|
||||
resource_timing.response_end as f64 - resource_timing.start_time as f64,
|
||||
(resource_timing.response_end - resource_timing.start_time) as f64,
|
||||
),
|
||||
initiator_type: initiator_type,
|
||||
next_hop: next_hop,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue