FrameView shouldn't apply scroll anchoring when root layer scrolling is enabled
Before this patch, when root layer scrolling was enabled, both FV and PLSA would
perform scroll anchoring. FV doesn't need perform scroll anchoring for the main
frame because PLSA will do the right thing.
This issue was found because the following tests failed when ScrollAnchoring was
turned on by default:
virtual/rootlayerscrolls/fast/scrolling/scroll-into-view-collapsed-div.html
virtual/rootlayerscrolls/fast/scrolling/fractional-scroll-offset-document.html
BUG=597479,558575
Review-Url: https://codereview.chromium.org/2176523003
Cr-Commit-Position: refs/heads/master@{#407211}
6 files changed