diff options
Diffstat (limited to 'components/constellation/pipeline.rs')
-rw-r--r-- | components/constellation/pipeline.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index 74ce33ff564..77cc70f8df2 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -486,7 +486,9 @@ impl UnprivilegedPipelineContent { STF: ScriptThreadFactory<Message=Message> { let image_cache = Arc::new(ImageCacheImpl::new(self.webrender_api_sender.create_api())); - let paint_time_metrics = PaintTimeMetrics::new(self.time_profiler_chan.clone()); + let paint_time_metrics = PaintTimeMetrics::new(self.id, + self.time_profiler_chan.clone(), + self.layout_to_constellation_chan.clone()); let layout_pair = STF::create(InitialScriptState { id: self.id, browsing_context_id: self.browsing_context_id, |