Index: ash/wm/window_state.cc |
diff --git a/ash/wm/window_state.cc b/ash/wm/window_state.cc |
index 4bc1484f9b81e794f389f5daa5aa4ca381247462..806236920ccf3abc97c9d8b5698aa1f6261932eb 100644 |
--- a/ash/wm/window_state.cc |
+++ b/ash/wm/window_state.cc |
@@ -136,8 +136,7 @@ bool WindowState::CanActivate() const { |
} |
bool WindowState::CanSnap() const { |
- if (!CanResize() || |
- window_->type() == aura::client::WINDOW_TYPE_PANEL || |
+ if (!CanResize() || window_->type() == ui::wm::WINDOW_TYPE_PANEL || |
window_->transient_parent()) |
return false; |
// If a window has a maximum size defined, snapping may make it too big. |