commit | 4df8a9d0aede6e1e7061941713c982fde674f0c0 | [log] [tgz] |
---|---|---|
author | danakj <danakj@chromium.org> | Tue Feb 05 20:36:59 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 05 20:36:59 2019 |
tree | 2deaf061d09f3d34b3fc634061282a7c8321d5b4 | |
parent | 23c0c581299a40a72ee5de648d9a6e2c491ddba5 [diff] |
Remove redundant PageMsg_UpdateWindowScreenRect IPC path. This path sends the window screen rect, through the RenderViewImpl of the main frame, to the RenderWidget. But it does so immediately after sending the window screen rect + widget screen rect to the same RenderWidget. There is an exception which is when an InterstitialPageImpl is present in the WebContents. Then we would have sent the window screen rect to that interstitial's main frame (via its RenderViewImpl). Instead, walk the full frame tree of the InterstitialPageImpl (don't assume only one widget) and go through the RenderWidgetHostImpl to send both rects using the same code path as we would for a non-interstitial. Then we remove the PageMsg_UpdateWindowScreenRect IPC and all of the plumbing around it. R=nasko@chromium.org Bug: 912193 Change-Id: I6f2d21f40e548d3eb4d8104cea9427a5118a0f2b Reviewed-on: https://chromium-review.googlesource.com/c/1448631 Reviewed-by: Nasko Oskov <nasko@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#629291}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .