aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r--components/servo/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index be56ffd5c1f..7fb990527ec 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -246,10 +246,7 @@ impl webrender_api::RenderNotifier for RenderNotifier {
}
impl Servo {
- #[cfg_attr(
- feature = "tracing",
- tracing::instrument(skip(builder), fields(servo_profiling = true), level = "trace",)
- )]
+ #[servo_tracing::instrument(skip(builder))]
fn new(builder: ServoBuilder) -> Self {
// Global configuration options, parsed from the command line.
let opts = builder.opts.map(|opts| *opts);