aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performanceentry.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2025-02-07 12:57:26 +0100
committerGitHub <noreply@github.com>2025-02-07 11:57:26 +0000
commit643885e6f14be1afb3f71f80642e9ae3e66216f3 (patch)
tree086283342a57dbbabf3d3f21258cd82e5e4cfd94 /components/script/dom/performanceentry.rs
parent4721f47190883fe1946bb938ca367565fb6bd888 (diff)
downloadservo-643885e6f14be1afb3f71f80642e9ae3e66216f3.tar.gz
servo-643885e6f14be1afb3f71f80642e9ae3e66216f3.zip
deps: Upgrade to `webrender@0.66` (#35325)
In addition to some small API changes, this downstream version of WebRender no longer depends on a very old version of time. This is the last step toward removing the dependency on `time0.1`. The review for this commit should also include: https://github.com/servo/webrender/commit/9f552bebab81a73e62068c42d94be2f9c0586ce4 Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/dom/performanceentry.rs')
-rw-r--r--components/script/dom/performanceentry.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/performanceentry.rs b/components/script/dom/performanceentry.rs
index c4e93a6ad63..ca34aed42ae 100644
--- a/components/script/dom/performanceentry.rs
+++ b/components/script/dom/performanceentry.rs
@@ -4,7 +4,7 @@
use base::cross_process_instant::CrossProcessInstant;
use dom_struct::dom_struct;
-use time_03::Duration;
+use time::Duration;
use super::performance::ToDOMHighResTimeStamp;
use crate::dom::bindings::codegen::Bindings::PerformanceBinding::DOMHighResTimeStamp;
@@ -22,7 +22,7 @@ pub(crate) struct PerformanceEntry {
entry_type: DOMString,
#[no_trace]
start_time: Option<CrossProcessInstant>,
- /// The duration of this [`PerformanceEntry`]. This is a [`time_03::Duration`],
+ /// The duration of this [`PerformanceEntry`]. This is a [`time::Duration`],
/// because it can be negative and `std::time::Duration` cannot be.
#[no_trace]
#[ignore_malloc_size_of = "No MallocSizeOf support for `time` crate"]