| Index: ash/wm/workspace/phantom_window_controller.cc
|
| diff --git a/ash/wm/workspace/phantom_window_controller.cc b/ash/wm/workspace/phantom_window_controller.cc
|
| index 99861fdb3bd2ff041b58e6622ee95e4d2db97402..7c96f87e96a4b8c9668ba9fd0410b2822c2b9b29 100644
|
| --- a/ash/wm/workspace/phantom_window_controller.cc
|
| +++ b/ash/wm/workspace/phantom_window_controller.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "ash/shell.h"
|
| #include "ash/shell_window_ids.h"
|
| +#include "ash/wm/coordinate_conversion.h"
|
| #include "third_party/skia/include/core/SkCanvas.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/aura/window_observer.h"
|
| @@ -125,9 +126,8 @@ void PhantomWindowController::CreatePhantomWidget(const gfx::Rect& bounds) {
|
| // PhantomWindowController is used by FrameMaximizeButton to highlight the
|
| // launcher button. Put the phantom in the same window as the launcher so that
|
| // the phantom is visible.
|
| - params.parent = Shell::GetContainer(
|
| - Shell::GetInstance()->GetRootWindowMatching(bounds),
|
| - kShellWindowId_LauncherContainer);
|
| + params.parent = Shell::GetContainer(wm::GetRootWindowMatching(bounds),
|
| + kShellWindowId_LauncherContainer);
|
| params.can_activate = false;
|
| params.keep_on_top = true;
|
| phantom_widget_->set_focus_on_creation(false);
|
|
|