aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread_2020/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_thread_2020/lib.rs')
-rw-r--r--components/layout_thread_2020/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_thread_2020/lib.rs b/components/layout_thread_2020/lib.rs
index bb9f614831c..5df365e889b 100644
--- a/components/layout_thread_2020/lib.rs
+++ b/components/layout_thread_2020/lib.rs
@@ -1290,7 +1290,7 @@ impl LayoutThread {
self.viewport_size.height.to_f32_px(),
));
let mut display_list = DisplayListBuilder::new(self.id.to_webrender(), viewport_size);
- let is_contentful = fragment_tree.build_display_list(&mut display_list, viewport_size);
+ fragment_tree.build_display_list(&mut display_list, viewport_size);
debug!("Layout done!");
@@ -1302,7 +1302,7 @@ impl LayoutThread {
// sending the display list to WebRender in order to set time related
// Progressive Web Metrics.
self.paint_time_metrics
- .maybe_observe_paint_time(self, epoch, is_contentful.0);
+ .maybe_observe_paint_time(self, epoch, display_list.is_contentful);
self.webrender_api.send_display_list(
self.webrender_document,