Index: ui/views/mus/native_widget_mus_unittest.cc |
diff --git a/ui/views/mus/native_widget_mus_unittest.cc b/ui/views/mus/native_widget_mus_unittest.cc |
index 716fc99aa90f7ecc2e9b263d5d1097380be38866..8a8e6814a667656388476c23cb2a429741f0f759 100644 |
--- a/ui/views/mus/native_widget_mus_unittest.cc |
+++ b/ui/views/mus/native_widget_mus_unittest.cc |
@@ -417,7 +417,7 @@ TEST_F(NativeWidgetMusTest, WidgetReceivesEvent) { |
NativeWidgetMus* native_widget = |
static_cast<NativeWidgetMus*>(widget->native_widget_private()); |
mus::WindowTreeClientPrivate test_api(native_widget->window()); |
- test_api.CallOnWindowInputEvent(native_widget->window(), *mouse); |
+ test_api.CallOnWindowInputEvent(native_widget->window(), std::move(mouse)); |
EXPECT_EQ(1, handler.num_mouse_events()); |
} |