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

Unified Diff: ui/events/ozone/evdev/event_thread_evdev.cc

Issue 2428383007: [Chromecast] Add input support. (Closed)
Patch Set: rebase Created 3 years, 11 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
Index: ui/events/ozone/evdev/event_thread_evdev.cc
diff --git a/ui/events/ozone/evdev/event_thread_evdev.cc b/ui/events/ozone/evdev/event_thread_evdev.cc
index abda8d1e7802a64d56e33f18dd4a367d1eb24804..c9634284f4b48fc31d483002f1aac0c5f27bc20f 100644
--- a/ui/events/ozone/evdev/event_thread_evdev.cc
+++ b/ui/events/ozone/evdev/event_thread_evdev.cc
@@ -43,7 +43,8 @@ class EvdevThread : public base::Thread {
new InputDeviceFactoryEvdevProxy(base::ThreadTaskRunnerHandle::Get(),
input_device_factory_->GetWeakPtr()));
- cursor_->InitializeOnEvdev();
+ if (cursor_)
derekjchow1 2017/01/13 18:12:28 Can Cast provide its own CursorDelegateEvdev? If s
Joshua LeVasseur 2017/01/13 23:38:13 Glancing through the evdev code, it seems to be de
spang 2017/01/16 18:54:54 Yes, it did support null, it just breaks from time
+ cursor_->InitializeOnEvdev();
init_runner_->PostTask(FROM_HERE,
base::Bind(init_callback_, base::Passed(&proxy)));

Powered by Google App Engine
This is Rietveld 408576698