diff options
Diffstat (limited to 'components/layout_thread_2020/lib.rs')
-rw-r--r-- | components/layout_thread_2020/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout_thread_2020/lib.rs b/components/layout_thread_2020/lib.rs index 4038fa92952..321de57788d 100644 --- a/components/layout_thread_2020/lib.rs +++ b/components/layout_thread_2020/lib.rs @@ -16,6 +16,7 @@ use std::process; use std::sync::{Arc, LazyLock}; use app_units::Au; +use base::cross_process_instant::CrossProcessInstant; use base::id::{BrowsingContextId, PipelineId}; use base::Epoch; use embedder_traits::resources::{self, Resource}; @@ -473,7 +474,7 @@ impl Layout for LayoutThread { .collect(); } - fn set_epoch_paint_time(&mut self, epoch: Epoch, paint_time: u64) { + fn set_epoch_paint_time(&mut self, epoch: Epoch, paint_time: CrossProcessInstant) { self.paint_time_metrics.maybe_set_metric(epoch, paint_time); } } |