Replace time with std::time in components/metrics & components/shared (#31020)

This commit is contained in:
Taym Haddadi 2024-01-10 20:23:47 +01:00 committed by GitHub
parent e3e0d8f2c4
commit 92196d985d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 53 additions and 27 deletions

View file

@ -892,6 +892,10 @@ impl MallocSizeOf for xml5ever::QualName {
malloc_size_of_is_0!(time::Duration);
#[cfg(feature = "servo")]
malloc_size_of_is_0!(time::Tm);
#[cfg(feature = "servo")]
malloc_size_of_is_0!(std::time::Duration);
#[cfg(feature = "servo")]
malloc_size_of_is_0!(std::time::SystemTime);
#[cfg(feature = "servo")]
impl<T> MallocSizeOf for hyper_serde::Serde<T>