| Index: ash/wm/workspace/workspace_window_resizer.cc
|
| diff --git a/ash/wm/workspace/workspace_window_resizer.cc b/ash/wm/workspace/workspace_window_resizer.cc
|
| index 8629940519ea0bddb2524bd1ed051378af009a71..f48fa7bffec937ceab185b533c3aa03163973e2e 100644
|
| --- a/ash/wm/workspace/workspace_window_resizer.cc
|
| +++ b/ash/wm/workspace/workspace_window_resizer.cc
|
| @@ -716,14 +716,14 @@ bool WorkspaceWindowResizer::UpdateMagnetismWindow(const gfx::Rect& bounds,
|
| for (auto i = children.rbegin();
|
| i != children.rend() && !matcher.AreEdgesObscured(); ++i) {
|
| wm::WindowState* other_state = wm::GetWindowState(*i);
|
| - if (other_state->window()->aura_window() == GetTarget() ||
|
| + if (other_state->window() == GetTarget() ||
|
| !other_state->window()->IsVisible() ||
|
| !other_state->IsNormalOrSnapped() || !other_state->CanResize()) {
|
| continue;
|
| }
|
| if (matcher.ShouldAttach(other_state->window()->GetBoundsInScreen(),
|
| &magnetism_edge_)) {
|
| - magnetism_window_ = other_state->window()->aura_window();
|
| + magnetism_window_ = other_state->window();
|
| window_tracker_.Add(magnetism_window_);
|
| return true;
|
| }
|
|
|