| Index: ui/events/ozone/evdev/input_device_factory_evdev.cc
|
| diff --git a/ui/events/ozone/evdev/input_device_factory_evdev.cc b/ui/events/ozone/evdev/input_device_factory_evdev.cc
|
| index 331759109399468596073bf6fa8ea52f8811ee30..5bcd80e4239391d949c0eca75e07d23f816b7e4e 100644
|
| --- a/ui/events/ozone/evdev/input_device_factory_evdev.cc
|
| +++ b/ui/events/ozone/evdev/input_device_factory_evdev.cc
|
| @@ -207,7 +207,7 @@ void InputDeviceFactoryEvdev::AttachInputDevice(
|
| const base::FilePath& path = converter->path();
|
|
|
| TRACE_EVENT1("evdev", "AttachInputDevice", "path", path.value());
|
| - DCHECK(task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(task_runner_->RunsTasksInCurrentSequence());
|
|
|
| // If we have an existing device, detach it. We don't want two
|
| // devices with the same name open at the same time.
|
| @@ -237,7 +237,7 @@ void InputDeviceFactoryEvdev::AttachInputDevice(
|
|
|
| void InputDeviceFactoryEvdev::DetachInputDevice(const base::FilePath& path) {
|
| TRACE_EVENT1("evdev", "DetachInputDevice", "path", path.value());
|
| - DCHECK(task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(task_runner_->RunsTasksInCurrentSequence());
|
|
|
| // Remove device from map.
|
| std::unique_ptr<EventConverterEvdev> converter = std::move(converters_[path]);
|
|
|