mirror of
https://github.com/servo/servo.git
synced 2025-10-15 16:00:28 +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
|
@ -81,6 +81,7 @@ webgpu = { path = "../webgpu" }
|
|||
webrender = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
webrender_traits = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
webxr = { git = "https://github.com/servo/webxr" }
|
||||
webxr-api = { git = "https://github.com/servo/webxr" }
|
||||
|
||||
|
|
|
@ -225,6 +225,7 @@ impl<Window> Servo<Window>
|
|||
where
|
||||
Window: WindowMethods + 'static + ?Sized,
|
||||
{
|
||||
#[tracing::instrument(skip(embedder, window))]
|
||||
pub fn new(
|
||||
mut embedder: Box<dyn EmbedderMethods>,
|
||||
window: Rc<Window>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue