Force visual properties to be synced before cross-process postMessage.
This CL fixes a reordering problem between sizing changes and cross-process postMessages. Previously, it was possible for a frame to resize its child frame (forcing layout to guarantee the sizing IPC is sent), then send it a postMessage, and have the message delivered before the sizing change. This is because the browser process might throttle resizes, in particular if there had been another pending resize which hadn't been acked by the (child) renderer. To fix this, this CL flushes any pending sizing info to the child renderer before forwarding the postMessage. Bug: 822958, 828529 Change-Id: I49252ed6f91b5c25be96b210fd3e3c6248f14da6 Reviewed-on: https://chromium-review.googlesource.com/1063310 Commit-Queue: Fady Samuel <fsamuel@chromium.org> Commit-Queue: Charlie Reis <creis@chromium.org> Reviewed-by:Fady Samuel <fsamuel@chromium.org> Reviewed-by:
Charlie Reis <creis@chromium.org> Reviewed-by:
Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#560176}
Showing
Please register or sign in to comment