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

Unified Diff: ash/display/display_controller.cc

Issue 17704003: Create RootWindowTransformer after root window's bounds and scale factor are updated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | ash/display/display_controller_unittest.cc » ('j') | 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 adad32f3319bc57a3bec399643da2b440fabf56b..7b14d23b70d52897d4b4683efe4bb0a5f80fc7ec 100644
--- a/ash/display/display_controller.cc
+++ b/ash/display/display_controller.cc
@@ -821,8 +821,8 @@ void DisplayController::OnDisplayBoundsChanged(const gfx::Display& display) {
UpdateDisplayBoundsForLayout();
aura::RootWindow* root = root_windows_[display.id()];
- SetDisplayPropertiesOnHostWindow(root, display);
root->SetHostBounds(display_info.bounds_in_pixel());
+ SetDisplayPropertiesOnHostWindow(root, display);
}
void DisplayController::OnDisplayAdded(const gfx::Display& display) {
« no previous file with comments | « no previous file | ash/display/display_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698