aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/lib.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2019-06-02 07:10:40 +0200
committerest31 <MTest31@outlook.com>2019-06-02 07:12:26 +0200
commit8b6ed3d1823876fa7e3c5ff6b1a9036aa22a72f4 (patch)
treef52105b50b51f3d32eaec904369f0b24bee62290 /components/script_traits/lib.rs
parent8dc7a25893cbe9a2c958966618d28757201899b6 (diff)
downloadservo-8b6ed3d1823876fa7e3c5ff6b1a9036aa22a72f4.tar.gz
servo-8b6ed3d1823876fa7e3c5ff6b1a9036aa22a72f4.zip
Remove unused code from script* crates
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r--components/script_traits/lib.rs4
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.
///