Calculate and save RemoteFrame compositing rect during lifecycle
RemoteFrameView::GetCompositingRect uses geometry mapping code that relies on a clean layout state; but it is called from RenderFrameProxy::SynchronizeVisualProperties, which is called from many places, including in response to IPCs. With this change, the compositing rect is calculated and cached during each lifecycle update, and GetCompositingRect returns the cached value. BUG=1033746 Change-Id: I29c50c954829ef856d667b1948e1ea840904004a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2028863 Commit-Queue: Stefan Zager <szager@chromium.org> Reviewed-by:Ken Buchanan <kenrb@chromium.org> Cr-Commit-Position: refs/heads/master@{#743459}
Showing
Please register or sign in to comment