Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layout_2020: Fix WebRender display list dumping #26527

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -1302,15 +1302,19 @@ impl LayoutThread {
fragment_tree.scrollable_overflow(),
);

// `dump_serialized_display_list` doesn't actually print anything. It sets up
// the display list for printing the serialized version when `finalize()` is called.
// We need to call this before adding any display items so that they are printed
// during `finalize()`.
if self.dump_display_list {
display_list.wr.dump_serialized_display_list();
}

fragment_tree.build_display_list(&mut display_list);

if self.dump_flow_tree {
fragment_tree.print();
}
if self.dump_display_list {
display_list.wr.dump_serialized_display_list();
}

debug!("Layout done!");

let mut epoch = self.epoch.get();
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.