views: Makes WebView force synchronous layout in some situations
It turns out pepper expects a call to fullscreen to synchronously change the bounds. Recent changes to NativeViewHost meant that Attach() did not synchronously change the bounds, which broke pepper fullscreen. This patch makes WebView call Layout() right after Attach() to ensure the bounds are up to date for pepper. BUG=959118 TEST=none Change-Id: I35d4461347557735af9b19dab58c2bd2d71b733d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1633830Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#664486}
Showing
Please register or sign in to comment