Index: ui/views/widget/native_widget_aura_unittest.cc |
diff --git a/ui/views/widget/native_widget_aura_unittest.cc b/ui/views/widget/native_widget_aura_unittest.cc |
index 8181c9b76a1bb78c84fa76b8f082425a1d8f3f54..d2dcb2a08e7156819365494bed9e76d1b684b4e9 100644 |
--- a/ui/views/widget/native_widget_aura_unittest.cc |
+++ b/ui/views/widget/native_widget_aura_unittest.cc |
@@ -334,7 +334,7 @@ TEST_F(NativeWidgetAuraTest, PreferViewLayersToChildWindows) { |
// Point is over |child|. |
EXPECT_EQ(child->GetNativeWindow(), |
parent->GetNativeWindow()->GetEventHandlerForPoint( |
- gfx::Point(50, 50))); |
+ gfx::Point(50, 50), ui::ET_MOUSE_ENTERED)); |
// Create a view with a layer and stack it at the top (above |child|). |
views::View* view_with_layer = new views::View; |
@@ -345,26 +345,26 @@ TEST_F(NativeWidgetAuraTest, PreferViewLayersToChildWindows) { |
// Point is over |view_with_layer|, it should get the event. |
EXPECT_EQ(parent->GetNativeWindow(), |
parent->GetNativeWindow()->GetEventHandlerForPoint( |
- gfx::Point(20, 20))); |
+ gfx::Point(20, 20), ui::ET_MOUSE_ENTERED)); |
// Point is over |child|, it should get the event. |
EXPECT_EQ(child->GetNativeWindow(), |
parent->GetNativeWindow()->GetEventHandlerForPoint( |
- gfx::Point(70, 70))); |
+ gfx::Point(70, 70), ui::ET_MOUSE_ENTERED)); |
// Move |child| to the top and make sure it gets the event. |
child->GetNativeWindow()->layer()->parent()->StackAtTop( |
child->GetNativeWindow()->layer()); |
EXPECT_EQ(child->GetNativeWindow(), |
parent->GetNativeWindow()->GetEventHandlerForPoint( |
- gfx::Point(20, 20))); |
+ gfx::Point(20, 20), ui::ET_MOUSE_ENTERED)); |
delete view_with_layer; |
view_with_layer = NULL; |
EXPECT_EQ(child->GetNativeWindow(), |
parent->GetNativeWindow()->GetEventHandlerForPoint( |
- gfx::Point(20, 20))); |
+ gfx::Point(20, 20), ui::ET_MOUSE_ENTERED)); |
// Work around for bug in NativeWidgetAura. |
// TODO: fix bug and remove this. |