[root-scroller] Remove check for layout phase
This check existed because changing the root scroller used to require synchronously calling UpdateLayoutAndStyle which would reach up and dirty layout in an ancestor frame. This violated the lifecycle because updating the root scroller can happen from the ancestor's layout. Since we no longer need to recompute style (root scroller used to change the background style), this is no longer needed. Test added to verify. For a detailed description of how this could happen, see: https://crrev.com/6f14d2bf37f56f73d1875b5c15298c70b77c4dac Bug: 798719 Change-Id: I40cba8d8564d7365b4c7815bb6cfca7a1ad6d76c Reviewed-on: https://chromium-review.googlesource.com/1044363Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#556244}
Showing
Please register or sign in to comment