Index: ash/wm/panels/panel_layout_manager_unittest.cc |
diff --git a/ash/wm/panels/panel_layout_manager_unittest.cc b/ash/wm/panels/panel_layout_manager_unittest.cc |
index 0ea8f0281109a079ca66cf2355f62f0291568355..9bf9b691fc6fb4d669c5af681cc9648783545284 100644 |
--- a/ash/wm/panels/panel_layout_manager_unittest.cc |
+++ b/ash/wm/panels/panel_layout_manager_unittest.cc |
@@ -105,12 +105,10 @@ class PanelLayoutManagerTest : public test::AshTestBase { |
} |
views::Widget* GetCalloutWidgetForPanel(aura::Window* panel) { |
- WmWindow* wm_panel = WmWindow::Get(panel); |
- PanelLayoutManager* manager = PanelLayoutManager::Get(wm_panel); |
+ PanelLayoutManager* manager = PanelLayoutManager::Get(panel); |
DCHECK(manager); |
- PanelLayoutManager::PanelList::iterator found = |
- std::find(manager->panel_windows_.begin(), |
- manager->panel_windows_.end(), wm_panel); |
+ PanelLayoutManager::PanelList::iterator found = std::find( |
+ manager->panel_windows_.begin(), manager->panel_windows_.end(), panel); |
DCHECK(found != manager->panel_windows_.end()); |
DCHECK(found->callout_widget); |
return found->CalloutWidget(); |