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 6ae7fec3567b2d317642d9641c8fa41928296368..076d055fc60b28a05d80ebdfa50f4fab8a0945d2 100644 |
--- a/ash/wm/panels/panel_layout_manager_unittest.cc |
+++ b/ash/wm/panels/panel_layout_manager_unittest.cc |
@@ -18,9 +18,9 @@ |
#include "ash/common/wm/window_state.h" |
#include "ash/common/wm_root_window_controller.h" |
#include "ash/common/wm_shell.h" |
+#include "ash/common/wm_window_property.h" |
#include "ash/display/display_manager.h" |
#include "ash/screen_util.h" |
-#include "ash/shelf/shelf_util.h" |
#include "ash/shell.h" |
#include "ash/test/ash_test_base.h" |
#include "ash/test/display_manager_test_api.h" |
@@ -228,7 +228,7 @@ class PanelLayoutManagerTest : public test::AshTestBase { |
test_api.SetAnimationDuration(1); |
test_api.RunMessageLoopUntilAnimationsDone(); |
int index = WmShell::Get()->shelf_model()->ItemIndexByID( |
- GetShelfIDForWindow(window)); |
+ WmWindowAura::Get(window)->GetIntProperty(WmWindowProperty::SHELF_ID)); |
gfx::Rect bounds = test_api.GetButton(index)->GetBoundsInScreen(); |
ui::test::EventGenerator& event_generator = GetEventGenerator(); |