Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: ui/views/mus/native_widget_mus_unittest.cc

Issue 1939133002: StructTraits to map mus::mojom::Event to unique_ptr<ui::Event> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/mojo/typemaps.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « ui/events/mojo/typemaps.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698