aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index ca321f23526..3a0959d6b48 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -834,6 +834,14 @@ impl LayoutTask {
layout_debug::begin_trace(layout_root.clone());
}
+ // Resolve generated content.
+ profile(TimeProfilerCategory::LayoutGeneratedContent,
+ self.profiler_metadata(data),
+ self.time_profiler_chan.clone(),
+ || {
+ sequential::resolve_generated_content(&mut layout_root, &shared_layout_context)
+ });
+
// Perform the primary layout passes over the flow tree to compute the locations of all
// the boxes.
profile(TimeProfilerCategory::LayoutMain,