Index: ui/views/controls/button/label_button_unittest.cc |
diff --git a/ui/views/controls/button/label_button_unittest.cc b/ui/views/controls/button/label_button_unittest.cc |
index fad48ffaacd166d0ba3be3640c1ef81469af1fc2..1b13b8c50a2e865769dae571f62bafe738a6289a 100644 |
--- a/ui/views/controls/button/label_button_unittest.cc |
+++ b/ui/views/controls/button/label_button_unittest.cc |
@@ -455,8 +455,7 @@ class InkDropLabelButtonTest : public ViewsTestBase { |
}; |
TEST_F(InkDropLabelButtonTest, HoverStateAfterMouseEnterAndExitEvents) { |
- ui::test::EventGenerator event_generator(GetContext(), |
- widget_->GetNativeWindow()); |
+ ui::test::EventGenerator event_generator(widget_->GetNativeWindow()); |
const gfx::Point out_of_bounds_point(button_->bounds().bottom_right() + |
gfx::Vector2d(1, 1)); |
const gfx::Point in_bounds_point(button_->bounds().CenterPoint()); |