Index: ash/root_window_controller.cc |
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc |
index 51bd3ade55cca0943059cff0cb2f192a27d0d888..6b813f8a72e96419c8cb001e2fa59c685dbf0ecc 100644 |
--- a/ash/root_window_controller.cc |
+++ b/ash/root_window_controller.cc |
@@ -120,7 +120,7 @@ void ReparentWindow(aura::Window* window, aura::Window* new_parent) { |
gfx::Rect restore_bounds; |
bool has_restore_bounds = state->HasRestoreBounds(); |
- bool update_bounds = (state->IsNormalShowState() || state->IsMinimized()) && |
+ bool update_bounds = (state->IsNormalOrSnapped() || state->IsMinimized()) && |
new_parent->id() != internal::kShellWindowId_DockedContainer; |
gfx::Rect local_bounds; |
if (update_bounds) { |