summaryrefslogtreecommitdiffstats
path: root/ash/wm/activation_controller_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/activation_controller_unittest.cc')
-rw-r--r--ash/wm/activation_controller_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/activation_controller_unittest.cc b/ash/wm/activation_controller_unittest.cc
index 6500e9e..ca2a454 100644
--- a/ash/wm/activation_controller_unittest.cc
+++ b/ash/wm/activation_controller_unittest.cc
@@ -133,7 +133,7 @@ TEST_F(ActivationControllerTest, ClickOnMenu) {
EXPECT_TRUE(IsActiveWindow(NULL));
// Clicking on an activatable window activtes the window.
- aura::test::EventGenerator generator(w1.get());
+ aura::test::EventGenerator generator(Shell::GetRootWindow(), w1.get());
generator.ClickLeftButton();
EXPECT_TRUE(IsActiveWindow(w1.get()));