Index: ash/root_window_controller.cc |
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc |
index 1953fedce4cd949b12bbce1fdb70d60953dec388..97fd09eb2f5c33d7a34f3412c8e660c6c5900274 100644 |
--- a/ash/root_window_controller.cc |
+++ b/ash/root_window_controller.cc |
@@ -173,8 +173,9 @@ void ReparentAllWindows(aura::Window* src, aura::Window* dst) { |
kContainerIdsToMove + arraysize(kContainerIdsToMove)); |
// Check the default_multi_display_mode because this is also necessary |
// in trasition between mirror <-> unified mode. |
- if (Shell::GetInstance()->display_manager()->default_multi_display_mode() == |
- DisplayManager::UNIFIED) { |
+ if (Shell::GetInstance() |
+ ->display_manager() |
+ ->current_default_multi_display_mode() == DisplayManager::UNIFIED) { |
for (int id : kExtraContainerIdsToMoveInUnifiedMode) |
container_ids.push_back(id); |
} |