Index: ui/views/mus/window_manager_connection_unittest.cc |
diff --git a/ui/views/mus/window_manager_connection_unittest.cc b/ui/views/mus/window_manager_connection_unittest.cc |
index aba26448aa9698320c9a6c4597b9623114fd77d9..ba83ea14bb54db0a7a256378add69a33912d29dd 100644 |
--- a/ui/views/mus/window_manager_connection_unittest.cc |
+++ b/ui/views/mus/window_manager_connection_unittest.cc |
@@ -26,11 +26,13 @@ class TestPointerWatcher : public PointerWatcher { |
// PointerWatcher: |
void OnMousePressed(const ui::MouseEvent& event, |
- const gfx::Point& location_in_screen) override { |
+ const gfx::Point& location_in_screen, |
+ Widget* target) override { |
last_event_ = ui::Event::Clone(event); |
} |
void OnTouchPressed(const ui::TouchEvent& event, |
- const gfx::Point& location_in_screen) override { |
+ const gfx::Point& location_in_screen, |
+ Widget* target) override { |
last_event_ = ui::Event::Clone(event); |
} |
@@ -48,7 +50,7 @@ class WindowManagerConnectionTest : public testing::Test { |
~WindowManagerConnectionTest() override {} |
void OnEventObserved(const ui::Event& event) { |
- WindowManagerConnection::Get()->OnEventObserved(event); |
+ WindowManagerConnection::Get()->OnEventObserved(event, nullptr); |
} |
private: |