diff options
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index d5a030323f6..de05de657bd 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -550,10 +550,6 @@ pub type NsDuration = Length<u64, Nanoseconds>; pub fn precise_time_ms() -> MsDuration { Length::new(time::precise_time_ns() / (1000 * 1000)) } -/// Returns the duration since an unspecified epoch measured in ns. -pub fn precise_time_ns() -> NsDuration { - Length::new(time::precise_time_ns()) -} /// Data needed to construct a script thread. /// |