diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-05-31 14:43:58 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-05-31 14:43:58 +0200 |
commit | b45f1918d16a4c94a18968dc6b69b74408f71083 (patch) | |
tree | f255ab743ffb86040631275e90330625973dceff /components/script/dom/performance.rs | |
parent | 134fd1876718e9e547873c5d1acf140ae5d6aaac (diff) | |
download | servo-b45f1918d16a4c94a18968dc6b69b74408f71083.tar.gz servo-b45f1918d16a4c94a18968dc6b69b74408f71083.zip |
Remove JS::from_rooted
Diffstat (limited to 'components/script/dom/performance.rs')
-rw-r--r-- | components/script/dom/performance.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/performance.rs b/components/script/dom/performance.rs index 07ddbe2c312..d641d355eb6 100644 --- a/components/script/dom/performance.rs +++ b/components/script/dom/performance.rs @@ -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)), } |