mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Add tracing events (#33189)
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
This commit is contained in:
parent
37e1c3385e
commit
0f24b8c823
8 changed files with 34 additions and 0 deletions
|
@ -145,6 +145,17 @@ pub enum ForwardedToCompositorMsg {
|
|||
Canvas(CanvasToCompositorMsg),
|
||||
}
|
||||
|
||||
impl Debug for ForwardedToCompositorMsg {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
|
||||
match self {
|
||||
ForwardedToCompositorMsg::Layout(_) => write!(f, "Layout(ScriptToCompositorMsg)"),
|
||||
ForwardedToCompositorMsg::Net(_) => write!(f, "Net(NetToCompositorMsg)"),
|
||||
ForwardedToCompositorMsg::Font(_) => write!(f, "Font(FontToCompositorMsg)"),
|
||||
ForwardedToCompositorMsg::Canvas(_) => write!(f, "Canvas(CanvasToCompositorMsg)"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Debug for CompositorMsg {
|
||||
fn fmt(&self, f: &mut Formatter) -> Result<(), Error> {
|
||||
match *self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue