Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set dpi_ correctly during main window creation
For some Chrome windows the dpi_ setting cannot be set during window creation because the window location is not yet known. For other windows the dpi_ setting _must_ be set during window creation. This change handles both cases by setting dpi_ if the window size/location is being specified. This then handles both the task manager and main window cases. Bug: 1282804 Change-Id: Ic85dfb1646e9d063af324cc79736b660cea1acdc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3378579 Reviewed-by: Robert Liao <robliao@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/main@{#957715}
- Loading branch information