mac: Ensure surface invariants are not violated
Make BrowserCompositorViewMac be the source of ScreenInfo, and merge the update for screen properties with the resize update as BrowserCompositorViewMac::UpdateNSViewAndDisplay. Merge all RenderWidgetHostViewMac paths that update size or screen info into RenderWidgetHostViewMac::UpdateNSViewAndDisplayProperties, which communicates the changes (if any) to RenderWidgetHostImpl. Change-Id: Idc7f654c93d0622815825fdb6fff46afcb38767e Reviewed-on: https://chromium-review.googlesource.com/918284 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Fady Samuel <fsamuel@chromium.org> Cr-Commit-Position: refs/heads/master@{#537240}
Showing
Please register or sign in to comment