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

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

Issue 1828833002: 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@master
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 05323aae776e4e08a06e9acbd9865628527f89a9..fa9ea48b50071c9c5110abc17c1fd37933594683 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
@@ -918,8 +918,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