mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Additional tracing for flex layout, inline layout, and fonts (#34392)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
a4caa0efcb
commit
d65a2e9797
3 changed files with 62 additions and 6 deletions
|
@ -1505,6 +1505,15 @@ impl From<&InheritedText> for SegmentContentFlags {
|
|||
}
|
||||
|
||||
impl InlineFormattingContext {
|
||||
#[cfg_attr(
|
||||
feature = "tracing",
|
||||
tracing::instrument(
|
||||
name = "InlineFormattingContext::new_with_builder",
|
||||
skip_all,
|
||||
fields(servo_profiling = true),
|
||||
level = "trace",
|
||||
)
|
||||
)]
|
||||
pub(super) fn new_with_builder(
|
||||
builder: InlineFormattingContextBuilder,
|
||||
layout_context: &LayoutContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue