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

Unified Diff: ash/display/display_controller.cc

Issue 838863005: Always redraw the content when display configuration has changed (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 11 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: ash/display/display_controller.cc
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc
index 826fef8c38543837c3b5c26fc057d8c7b2a43123..7a3b6f9959daef8f7b0067eec767a425a89924be 100644
--- a/ash/display/display_controller.cc
+++ b/ash/display/display_controller.cc
@@ -153,6 +153,10 @@ void SetDisplayPropertiesOnHost(AshWindowTreeHost* ash_host,
base::TimeDelta::FromMicroseconds(
base::Time::kMicrosecondsPerSecond / mode.refresh_rate));
}
+
+ // Just movnig the display requires the full redraw.
+ // chrome-os-partner:33558.
+ host->compositor()->ScheduleFullRedraw();
}
void ClearDisplayPropertiesOnHost(AshWindowTreeHost* ash_host,
« 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