| Index: ash/wm/window_state.cc
|
| diff --git a/ash/wm/window_state.cc b/ash/wm/window_state.cc
|
| index 548117ea8f5976fef8e83460e6d5f9b7412be480..0c86e28499dad3fb9662cd1baf1d9fd3e0fd3c3d 100644
|
| --- a/ash/wm/window_state.cc
|
| +++ b/ash/wm/window_state.cc
|
| @@ -133,7 +133,7 @@ bool WindowState::CanActivate() const {
|
|
|
| bool WindowState::CanSnap() const {
|
| if (!CanResize() || window_->type() == ui::wm::WINDOW_TYPE_PANEL ||
|
| - window_->transient_parent())
|
| + views::corewm::GetTransientParent(window_))
|
| return false;
|
| // If a window has a maximum size defined, snapping may make it too big.
|
| return window_->delegate() ? window_->delegate()->GetMaximumSize().IsEmpty() :
|
|
|