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 5a7009f402f02989c2dc70b74222aeb32dec688b..68e25f2613cecfb8d23158f712d9c792d750b191 100644 |
--- a/ash/wm/panels/panel_window_resizer_unittest.cc |
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc |
@@ -25,6 +25,7 @@ |
#include "ash/wm/wm_event.h" |
#include "ash/wm_window.h" |
#include "base/i18n/rtl.h" |
+#include "base/strings/string_number_conversions.h" |
#include "ui/aura/client/aura_constants.h" |
#include "ui/aura/window_event_dispatcher.h" |
#include "ui/base/hit_test.h" |
@@ -63,6 +64,8 @@ class PanelWindowResizerTest : public test::AshTestBase { |
gfx::Rect bounds(origin, gfx::Size(101, 101)); |
aura::Window* window = CreateTestWindowInShellWithDelegateAndType( |
NULL, ui::wm::WINDOW_TYPE_PANEL, 0, bounds); |
+ static int id = 0; |
+ window->SetProperty(kShelfIDKey, new ShelfID(base::IntToString(id++))); |
shelf_view_test_->RunMessageLoopUntilAnimationsDone(); |
return window; |
} |