Index: ui/events/mojo/event.typemap |
diff --git a/ui/events/mojo/event.typemap b/ui/events/mojo/event.typemap |
index fea94a7bdb22648ebdb3a82ad857cb12c09a56ab..b34142e39fac4bd3dd5dbcf88d29130c8d2896e2 100644 |
--- a/ui/events/mojo/event.typemap |
+++ b/ui/events/mojo/event.typemap |
@@ -15,4 +15,4 @@ sources = [ |
] |
# TODO(moshayedi): crbug.com/617167. Map mojom.Event directly to ui::Event. |
-type_mappings = [ "ui.mojom.Event=std::unique_ptr<ui::Event>[pass_by_value]" ] |
+type_mappings = [ "ui.mojom.Event=std::unique_ptr<ui::Event>[move_only]" ] |