aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2014-09-05 08:37:42 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2014-09-05 09:41:43 +1000
commita0854080ccbcdd1e1af7ef35e04865a436fb70be (patch)
tree521dded4ce53e6299027943c6ecc4ffde22a4071 /src/components/layout/layout_task.rs
parentacedb166707aa2e8fd02e6c7d943147394c34609 (diff)
downloadservo-a0854080ccbcdd1e1af7ef35e04865a436fb70be.tar.gz
servo-a0854080ccbcdd1e1af7ef35e04865a436fb70be.zip
Change scope macro to be a no-op in release builds.
Diffstat (limited to 'src/components/layout/layout_task.rs')
-rw-r--r--src/components/layout/layout_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/layout/layout_task.rs b/src/components/layout/layout_task.rs
index 93b49652678..582a26c37e9 100644
--- a/src/components/layout/layout_task.rs
+++ b/src/components/layout/layout_task.rs
@@ -531,7 +531,7 @@ impl LayoutTask {
fn solve_constraints<'a>(&mut self,
layout_root: &mut Flow,
layout_context: &'a LayoutContext<'a>) {
- let _scope = layout_debug::Scope::new("solve_constraints".to_string());
+ let _scope = layout_debug_scope!("solve_constraints");
if layout_context.shared.opts.bubble_inline_sizes_separately {
let mut traversal = BubbleISizesTraversal {