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

Unified Diff: components/exo/gamepad.cc

Issue 2179173002: exo: Fix crash in out-of-order destruction of Gamepad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/gamepad.cc
diff --git a/components/exo/gamepad.cc b/components/exo/gamepad.cc
index dc49bcec9f55e7b07b740b0e901e888332ed900c..b997045dd5a4c665c6c3a9e15cb8e3c7959977d3 100644
--- a/components/exo/gamepad.cc
+++ b/components/exo/gamepad.cc
@@ -141,7 +141,7 @@ class Gamepad::ThreadSafeGamepadChangeFetcher
CreateGamepadDataFetcherCallback create_fetcher_callback_;
// Reference to task runner on polling thread.
- base::SingleThreadTaskRunner* polling_task_runner_;
+ scoped_refptr<base::SingleThreadTaskRunner> polling_task_runner_;
// Reference to task runner on origin thread.
scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698