Skip to content

Commit

Permalink
layout_thread: Log reflows that happen due to animation ticks if
Browse files Browse the repository at this point in the history
`-Z relayout-event` is on.
  • Loading branch information
pcwalton committed Dec 1, 2016
1 parent f97d471 commit 0e338d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/layout_thread/lib.rs
Expand Up @@ -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(),
Expand Down

0 comments on commit 0e338d5

Please sign in to comment.