Index: ash/accelerators/accelerator_controller_unittest.cc |
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc |
index b6f925427237e4f1aaadff15e24931454721fa6f..78a2db10a81d7aef7c636ff3a9e8a490bcc9862a 100644 |
--- a/ash/accelerators/accelerator_controller_unittest.cc |
+++ b/ash/accelerators/accelerator_controller_unittest.cc |
@@ -427,7 +427,7 @@ TEST_F(AcceleratorControllerTest, IsRegistered) { |
TEST_F(AcceleratorControllerTest, WindowSnap) { |
scoped_ptr<aura::Window> window( |
- aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 5, 20, 20), NULL)); |
+ CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); |
const ui::Accelerator dummy; |
wm::ActivateWindow(window.get()); |
@@ -521,7 +521,7 @@ TEST_F(AcceleratorControllerTest, ControllerContext) { |
TEST_F(AcceleratorControllerTest, SuppressToggleMaximized) { |
scoped_ptr<aura::Window> window( |
- aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 5, 20, 20), NULL)); |
+ CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); |
wm::ActivateWindow(window.get()); |
const ui::Accelerator accelerator(ui::VKEY_A, ui::EF_NONE); |
const ui::Accelerator empty_accelerator; |
@@ -1206,7 +1206,7 @@ TEST_F(AcceleratorControllerTest, DisallowedAtModalWindow) { |
<< " not found in kAcceleratorData. action: " << *it; |
} |
scoped_ptr<aura::Window> window( |
- aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 5, 20, 20), NULL)); |
+ CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); |
const ui::Accelerator dummy; |
wm::ActivateWindow(window.get()); |
Shell::GetInstance()->SimulateModalWindowOpenForTesting(true); |