| Index: ash/wm/workspace/frame_maximize_button.cc
|
| diff --git a/ash/wm/workspace/frame_maximize_button.cc b/ash/wm/workspace/frame_maximize_button.cc
|
| index 751b5c64c57478b7fbd0077106de700ae3be2e9b..9cf663e0871eae17e3078e575f15348dfd615df4 100644
|
| --- a/ash/wm/workspace/frame_maximize_button.cc
|
| +++ b/ash/wm/workspace/frame_maximize_button.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "ash/launcher/launcher.h"
|
| #include "ash/screen_ash.h"
|
| +#include "ash/shelf/shelf_widget.h"
|
| #include "ash/shell.h"
|
| #include "ash/shell_delegate.h"
|
| #include "ash/wm/maximize_bubble_controller.h"
|
| @@ -471,7 +472,7 @@ gfx::Rect FrameMaximizeButton::ScreenBoundsForType(
|
| item_rect.Inset(-8, -8);
|
| return item_rect;
|
| }
|
| - return launcher->widget()->GetWindowBoundsInScreen();
|
| + return launcher->shelf_widget()->GetWindowBoundsInScreen();
|
| }
|
| case SNAP_RESTORE: {
|
| const gfx::Rect* restore = GetRestoreBoundsInScreen(window);
|
|
|