Commit d0fe7495 authored by spang's avatar spang Committed by Commit bot

ozone: evdev: Use task_is_slow := false for input device open

This doesn't do anything on linux. On windows it means the task may
perform a "long wait", which also doesn't apply here. Opening a device
is fast.

BUG=none
TEST=boot link_freon & type on the keyboard. input still works :)

Review URL: https://codereview.chromium.org/972803002

Cr-Commit-Position: refs/heads/master@{#318800}
parent 3c2d3a4d
...@@ -229,7 +229,7 @@ void InputDeviceFactoryEvdev::AddInputDevice(int id, ...@@ -229,7 +229,7 @@ void InputDeviceFactoryEvdev::AddInputDevice(int id,
base::WorkerPool::PostTask(FROM_HERE, base::WorkerPool::PostTask(FROM_HERE,
base::Bind(&OpenInputDevice, base::Passed(&params), base::Bind(&OpenInputDevice, base::Passed(&params),
task_runner_, reply_callback), task_runner_, reply_callback),
true /* task_is_slow */); false /* task_is_slow */);
} }
void InputDeviceFactoryEvdev::RemoveInputDevice(const base::FilePath& path) { void InputDeviceFactoryEvdev::RemoveInputDevice(const base::FilePath& path) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment