Index: ash/accelerators/accelerator_controller_unittest.cc |
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc |
index 31ebf9b4e41372d262315ef9e27db36153c2af10..5ca644ede6f791cbf43c01c909fabff65bd158c8 100644 |
--- a/ash/accelerators/accelerator_controller_unittest.cc |
+++ b/ash/accelerators/accelerator_controller_unittest.cc |
@@ -423,8 +423,10 @@ TEST_F(AcceleratorControllerTest, IsRegistered) { |
} |
TEST_F(AcceleratorControllerTest, WindowSnap) { |
- scoped_ptr<aura::Window> window( |
- CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); |
+ scoped_ptr<aura::Window> window(CreateTestWindowInShellWithDelegate( |
+ aura::test::TestWindowDelegate::CreateSelfDestroyingDelegate(), |
+ 0, |
+ gfx::Rect(5, 5, 20, 20))); |
const ui::Accelerator dummy; |
wm::WindowState* window_state = wm::GetWindowState(window.get()); |