Viewport resize anchoring should use the current layout viewport.
The current viewport resize anchor assumes the FrameView is always the layout viewport. This is not true in the setRootScroller experiment where an arbitrary <div> may become the layout viewport in RootFrameViewport. I've moved the anchoring logic into RootFrameViewport to keep this information encapsulated and used the layout viewport as reported by the RootFrameViewport class BUG=505516 Review-Url: https://codereview.chromium.org/2248433002 Cr-Commit-Position: refs/heads/master@{#413376}
Showing
Please register or sign in to comment