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

Unified Diff: components/exo/wayland/server.cc

Issue 2159283002: exo: Fix crash in out-of-order destruction of Gamepad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« components/exo/gamepad.h ('K') | « components/exo/gamepad_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wayland/server.cc
diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc
index ee3a25aa333b40c14033de982e02b5aa1aff6724..8eab2a2a531076b885e742250db89c4fa88514db 100644
--- a/components/exo/wayland/server.cc
+++ b/components/exo/wayland/server.cc
@@ -2870,7 +2870,7 @@ void gaming_input_get_gamepad(wl_client* client,
SetImplementation(
gamepad_resource, &gamepad_implementation,
base::WrapUnique(new Gamepad(new WaylandGamepadDelegate(gamepad_resource),
- gaming_input_thread->task_runner().get())));
+ gaming_input_thread->task_runner())));
}
const struct zwp_gaming_input_v1_interface gaming_input_implementation = {
« components/exo/gamepad.h ('K') | « components/exo/gamepad_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698