| Index: ash/shelf/overflow_bubble.cc
|
| diff --git a/ash/shelf/overflow_bubble.cc b/ash/shelf/overflow_bubble.cc
|
| index df72d2d43ac5fc16d31acdcb7cf4b33d84602be5..8ba93b1c54a13c8db5e313e3233b569be4a0c7f3 100644
|
| --- a/ash/shelf/overflow_bubble.cc
|
| +++ b/ash/shelf/overflow_bubble.cc
|
| @@ -8,8 +8,8 @@
|
| #include "ash/shelf/overflow_button.h"
|
| #include "ash/shelf/shelf_view.h"
|
| #include "ash/shelf/wm_shelf.h"
|
| +#include "ash/shell_port.h"
|
| #include "ash/system/tray/tray_background_view.h"
|
| -#include "ash/wm_shell.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| #include "ui/views/widget/widget.h"
|
|
|
| @@ -21,13 +21,13 @@ OverflowBubble::OverflowBubble(WmShelf* wm_shelf)
|
| overflow_button_(nullptr),
|
| shelf_view_(nullptr) {
|
| DCHECK(wm_shelf_);
|
| - WmShell::Get()->AddPointerWatcher(this,
|
| - views::PointerWatcherEventTypes::BASIC);
|
| + ShellPort::Get()->AddPointerWatcher(this,
|
| + views::PointerWatcherEventTypes::BASIC);
|
| }
|
|
|
| OverflowBubble::~OverflowBubble() {
|
| Hide();
|
| - WmShell::Get()->RemovePointerWatcher(this);
|
| + ShellPort::Get()->RemovePointerWatcher(this);
|
| }
|
|
|
| void OverflowBubble::Show(OverflowButton* overflow_button,
|
|
|