Refactor UpdateLifecyclePhasesInternal.
This patch splits ups the four major components of lifecycle updates: - Style and layout - Compositing - PrePaint - Paint into separate functions, named similarly to indicate that they are a part of lifecycle updates. It also separates various checks and state set up to be in a wrapper function around UpdateLifecyclePhasesInternal to ensure that the lifecycle updates themselves are easy to follow. Also adds comments throughout. R=chrishtr@chromium.org Change-Id: I5fb23bd48757866bdb42e49b6d35fa99fa9f8d41 Reviewed-on: https://chromium-review.googlesource.com/1136882 Commit-Queue: vmpstr <vmpstr@chromium.org> Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#579116}
Showing
This diff is collapsed.
Please register or sign in to comment