Index: ash/wm/panels/panel_window_resizer_unittest.cc |
diff --git a/ash/wm/panels/panel_window_resizer_unittest.cc b/ash/wm/panels/panel_window_resizer_unittest.cc |
index 02a714be61adc4ed609649c7b29b49c3a0a63875..0e6cd43c9528ce4abee4d9a8309b099d4b304561 100644 |
--- a/ash/wm/panels/panel_window_resizer_unittest.cc |
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc |
@@ -14,8 +14,8 @@ |
#include "ash/common/wm/window_state.h" |
#include "ash/common/wm/wm_event.h" |
#include "ash/common/wm_shell.h" |
+#include "ash/common/wm_window_property.h" |
#include "ash/root_window_controller.h" |
-#include "ash/shelf/shelf_util.h" |
#include "ash/shell.h" |
#include "ash/test/ash_test_base.h" |
#include "ash/test/cursor_manager_test_api.h" |
@@ -134,7 +134,8 @@ class PanelWindowResizerTest : public test::AshTestBase { |
for (std::vector<aura::Window *>::const_iterator |
iter = window_order.begin(); |
iter != window_order.end(); ++iter, ++panel_index) { |
- ShelfID id = GetShelfIDForWindow(*iter); |
+ ShelfID id = |
+ WmWindowAura::Get(*iter)->GetIntProperty(WmWindowProperty::SHELF_ID); |
EXPECT_EQ(id, model_->items()[panel_index].id); |
} |
} |