| Index: ash/common/system/chromeos/palette/palette_tray.cc
|
| diff --git a/ash/common/system/chromeos/palette/palette_tray.cc b/ash/common/system/chromeos/palette/palette_tray.cc
|
| index eccef71de33a8b82072ccb4f72070538ec570b83..625cd5fd49cadc5ce70c36168afde63c771deedb 100644
|
| --- a/ash/common/system/chromeos/palette/palette_tray.cc
|
| +++ b/ash/common/system/chromeos/palette/palette_tray.cc
|
| @@ -19,7 +19,6 @@
|
| #include "ash/common/system/tray/tray_constants.h"
|
| #include "ash/common/system/tray/tray_popup_header_button.h"
|
| #include "ash/common/system/tray/tray_popup_item_style.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| @@ -329,8 +328,7 @@ void PaletteTray::OnBeforeBubbleWidgetInit(
|
| views::Widget* bubble_widget,
|
| views::Widget::InitParams* params) const {
|
| // Place the bubble in the same root window as |anchor_widget|.
|
| - WmLookup::Get()
|
| - ->GetWindowForWidget(anchor_widget)
|
| + WmWindow::Get(anchor_widget->GetNativeWindow())
|
| ->GetRootWindowController()
|
| ->ConfigureWidgetInitParamsForContainer(
|
| bubble_widget, kShellWindowId_SettingBubbleContainer, params);
|
|
|