layout_thread: Log reflows that happen due to animation ticks if

`-Z relayout-event` is on.
This commit is contained in:
Patrick Walton 2016-11-29 17:44:31 -08:00
parent f97d47188f
commit 0e338d5b31

View file

@ -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(),