| Index: ash/common/system/status_area_widget_delegate.cc
|
| diff --git a/ash/common/system/status_area_widget_delegate.cc b/ash/common/system/status_area_widget_delegate.cc
|
| index 65911450c9e16330fbb787dbaddd77effdbf3191..57354918d3b3b6382d77b177a280ca5125f1450d 100644
|
| --- a/ash/common/system/status_area_widget_delegate.cc
|
| +++ b/ash/common/system/status_area_widget_delegate.cc
|
| @@ -9,7 +9,6 @@
|
| #include "ash/common/shelf/wm_shelf.h"
|
| #include "ash/common/shelf/wm_shelf_util.h"
|
| #include "ash/common/system/tray/tray_constants.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/root_window_controller.h"
|
| @@ -78,7 +77,7 @@ const views::Widget* StatusAreaWidgetDelegate::GetWidget() const {
|
| void StatusAreaWidgetDelegate::OnGestureEvent(ui::GestureEvent* event) {
|
| views::Widget* target_widget =
|
| static_cast<views::View*>(event->target())->GetWidget();
|
| - WmWindow* target_window = WmLookup::Get()->GetWindowForWidget(target_widget);
|
| + WmWindow* target_window = WmWindow::Get(target_widget->GetNativeWindow());
|
| WmShelf* shelf = target_window->GetRootWindowController()->GetShelf();
|
| if (shelf->ProcessGestureEvent(*event))
|
| event->StopPropagation();
|
|
|