From 0e338d5b31376aee36f4edeb72a31714eb5cf817 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 29 Nov 2016 17:44:31 -0800 Subject: [PATCH] layout_thread: Log reflows that happen due to animation ticks if `-Z relayout-event` is on. --- components/layout_thread/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index 961abb7416b..7ae942361ed 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -1282,6 +1282,10 @@ impl LayoutThread { } fn tick_animations(&mut self, rw_data: &mut LayoutThreadData) { + if opts::get().relayout_event { + println!("**** pipeline={}\tForDisplay\tSpecial\tAnimationTick", self.id); + } + let reflow_info = Reflow { goal: ReflowGoal::ForDisplay, page_clip_rect: max_rect(),