| Index: ash/frame/caption_buttons/frame_size_button.cc
|
| diff --git a/ash/frame/caption_buttons/frame_size_button.cc b/ash/frame/caption_buttons/frame_size_button.cc
|
| index 7426c57cd20ce8fc670a97258f20da19d5ef4b3e..756f87472e6b4ecc4e257bee6334e748ee703460 100644
|
| --- a/ash/frame/caption_buttons/frame_size_button.cc
|
| +++ b/ash/frame/caption_buttons/frame_size_button.cc
|
| @@ -223,7 +223,8 @@ void FrameSizeButton::UpdateSnapType(const ui::LocatedEvent& event) {
|
| if (snap_type_ == SNAP_LEFT || snap_type_ == SNAP_RIGHT) {
|
| aura::Window* window = frame_->GetNativeWindow();
|
| if (!phantom_window_controller_.get()) {
|
| - phantom_window_controller_.reset(new PhantomWindowController(window));
|
| + phantom_window_controller_.reset(
|
| + new PhantomWindowController(wm::WmWindowAura::Get(window)));
|
| }
|
| gfx::Rect phantom_bounds_in_parent =
|
| (snap_type_ == SNAP_LEFT)
|
|
|