style: Remove the old profiler label frames code in the servo codebase and replace it with the new API

Differential Revision: https://phabricator.services.mozilla.com/D120795
This commit is contained in:
Nazım Can Altınova 2023-05-22 13:08:55 +02:00 committed by Oriol Brufau
parent 9e33a154fd
commit 5a9fae3fb5
6 changed files with 5 additions and 109 deletions

View file

@ -140,7 +140,7 @@ where
// ensures that we process all the elements at a given depth before
// proceeding to the next depth, which is important for style sharing.
rayon::scope_fifo(|scope| {
profiler_label!(Style);
gecko_profiler_label!(Layout, StyleComputation);
parallel::traverse_nodes(
drain,
DispatchMode::TailCall,