Index: chrome/browser/chromeos/display/display_preferences_unittest.cc |
diff --git a/chrome/browser/chromeos/display/display_preferences_unittest.cc b/chrome/browser/chromeos/display/display_preferences_unittest.cc |
index 03f0959d1893555707fa8d694970363ef1958230..731cc1e01e14dbb3ac82b09a8fe839b5164a8048 100644 |
--- a/chrome/browser/chromeos/display/display_preferences_unittest.cc |
+++ b/chrome/browser/chromeos/display/display_preferences_unittest.cc |
@@ -155,6 +155,8 @@ TEST_F(DisplayPreferencesTest, OldInitialization) { |
StoreDisplayOverscan(id2, gfx::Insets(20, 20, 20, 20)); |
LoadDisplayPreferences(); |
+ ash::Shell::GetInstance()->display_manager()->UpdateDisplays(); |
+ |
// Check if the layout settings are notified to the system properly. |
ash::DisplayController* display_controller = |
ash::Shell::GetInstance()->display_controller(); |
@@ -185,6 +187,7 @@ TEST_F(DisplayPreferencesTest, PairedLayoutOverrides) { |
StoreDefaultLayoutPref(ash::DisplayLayout::LEFT, 50); |
LoadDisplayPreferences(); |
+ ash::Shell::GetInstance()->display_manager()->UpdateDisplays(); |
// Check if the layout settings are notified to the system properly. |
// The paired layout overrides old layout. |
ash::DisplayController* display_controller = |