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: 9f552bebab

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2025-02-07 12:57:26 +01:00 committed by GitHub
parent 4721f47190
commit 643885e6f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 72 additions and 76 deletions

View file

@ -20,7 +20,7 @@ malloc_size_of = { workspace = true }
malloc_size_of_derive = { workspace = true }
parking_lot = { workspace = true }
serde = { workspace = true }
time_03 = { workspace = true }
time = { workspace = true }
webrender_api = { workspace = true }
static_assertions = { workspace = true }

View file

@ -15,11 +15,11 @@ use std::ops::{Add, Sub};
use malloc_size_of_derive::MallocSizeOf;
use serde::{Deserialize, Serialize};
use time_03::Duration;
use time::Duration;
/// A monotonic, nanosecond precision timer that can be used cross-process. The value
/// stored internally is purposefully opaque as the origin is platform-specific. They can
/// be compared and [`time_03::Duration`] can be found by subtracting one from another.
/// be compared and [`time::Duration`] can be found by subtracting one from another.
/// The `time` crate is used in this case instead of `std::time` so that durations can
/// be negative.
#[derive(