DescriptionOnly Update the Scale Factor if the Scale Factor Actually Changed
WM_DPICHANGED may fire when the DPI hasn't actually changed. This occurs
during initialization with an interaction from EnableChildWindowDpiMessage.
For maximized windows, this causes the bounds logic to unset WS_MAXIMIZE from
the HWND, which leads to WM_SYSCOMMAND with SC_MAXIMIZE prematurely showing the
window, and short-circuting BrowserView::Show() causing it to skip showing the
contents of the window because the frame is already visible.
BUG=625076
Committed: https://crrev.com/8e164fb9b1df48c5e01540190a108eaaad86feca
Cr-Commit-Position: refs/heads/master@{#406962}
Patch Set 1 #
Messages
Total messages: 17 (11 generated)
|