Index: ash/common/wm/drag_details.cc |
diff --git a/ash/common/wm/drag_details.cc b/ash/common/wm/drag_details.cc |
index 4a9182674e6d0b2b667258a658c350306ac21716..88e5abe020b2e45e455fce09268af077138e53ca 100644 |
--- a/ash/common/wm/drag_details.cc |
+++ b/ash/common/wm/drag_details.cc |
@@ -69,8 +69,8 @@ DragDetails::DragDetails(WmWindow* window, |
window->GetType() == ui::wm::WINDOW_TYPE_PANEL && |
window->aura_window()->GetProperty(kPanelAttachedKey)) { |
wm::WindowState* window_state = window->GetWindowState(); |
- if ((window_state->IsNormalOrSnapped() || window_state->IsDocked()) && |
- window_state->HasRestoreBounds() && window_component == HTCAPTION) { |
+ if (window_state->IsNormalOrSnapped() && window_state->HasRestoreBounds() && |
+ window_component == HTCAPTION) { |
restore_bounds = window_state->GetRestoreBoundsInScreen(); |
} |
} |