mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove JS::from_rooted
This commit is contained in:
parent
134fd18767
commit
b45f1918d1
14 changed files with 24 additions and 33 deletions
|
@ -26,7 +26,7 @@ impl Performance {
|
|||
navigation_start_precise: f64) -> Performance {
|
||||
Performance {
|
||||
reflector_: Reflector::new(),
|
||||
timing: JS::from_rooted(&PerformanceTiming::new(window,
|
||||
timing: JS::from_ref(&*PerformanceTiming::new(window,
|
||||
navigation_start,
|
||||
navigation_start_precise)),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue