| Index: ash/common/system/tray/tray_bubble_wrapper.cc
|
| diff --git a/ash/common/system/tray/tray_bubble_wrapper.cc b/ash/common/system/tray/tray_bubble_wrapper.cc
|
| index 9d993aee75439f91a0807c2b436682ced004e7e0..549504294e22ff051188274b2f58206585326309 100644
|
| --- a/ash/common/system/tray/tray_bubble_wrapper.cc
|
| +++ b/ash/common/system/tray/tray_bubble_wrapper.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "ash/common/system/tray/tray_background_view.h"
|
| #include "ash/common/system/tray/tray_event_filter.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ui/views/bubble/tray_bubble_view.h"
|
| #include "ui/views/widget/widget.h"
|
| @@ -43,7 +42,7 @@ void TrayBubbleWrapper::OnWidgetDestroying(views::Widget* widget) {
|
| // will invoke PerformAction which reopens the bubble again. To prevent the
|
| // reopen, the mouse capture of |tray_| has to be released.
|
| // See crbug.com/177075
|
| - WmLookup::Get()->GetWindowForWidget(tray_->GetWidget())->ReleaseCapture();
|
| + WmWindow::Get(tray_->GetWidget()->GetNativeWindow())->ReleaseCapture();
|
|
|
| tray_->HideBubbleWithView(bubble_view_); // May destroy |bubble_view_|
|
| }
|
|
|