Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc

Issue 1831163002: Fix another painting regression caused by my patch to address painting problems with the fullscreen… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
index 465d8bbe093b6bd6e310886a6e6a008a4be3ba1d..dffd8bf8320b52d0ad260f4f47adf77d9796bffc 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
@@ -913,8 +913,9 @@ void DesktopWindowTreeHostWin::HandleWindowSizeChanged() {
// the screen). In that case do a resize to the current size to reenable
// swaps.
if (compositor()) {
- compositor()->SetScaleAndSize(compositor()->device_scale_factor(),
- GetBounds().size());
+ compositor()->SetScaleAndSize(
+ compositor()->device_scale_factor(),
+ message_handler_->GetClientAreaBounds().size());
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698