forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Surface synchronization: Pass original ScreenInfo to OOPIF/BrowserPlugin
In device emulation mode, the top level renderer devtools lies to Blink about the size and scale factor by constructing an emulated ScreenInfo object. Prior to this patch, we propagated that ScreenInfo down to OOPIFs and BrowserPlugins. This caused double scaling of the compositor viewport size in OOPIFs because the top level renderer had already scaled down the surface embedded. This CL instead plumbs down the original ScreenInfo which fixes the device emulation problem. Bug: 819903, 672962 Change-Id: Ie32c2798edcbe8738c463edf86d45c86f33d0d5b Reviewed-on: https://chromium-review.googlesource.com/956554 Commit-Queue: Fady Samuel <fsamuel@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Lucas Gadani <lfg@chromium.org> Cr-Commit-Position: refs/heads/master@{#542130}
- Loading branch information
Fady Samuel
authored and
Commit Bot
committed
Mar 9, 2018
1 parent
afb450f
commit a863f15
Showing
9 changed files
with
133 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.