| Index: device/serial/serial_io_handler.cc
|
| diff --git a/device/serial/serial_io_handler.cc b/device/serial/serial_io_handler.cc
|
| index f9e3e820831ed250e34f43cb362834a7f84e8476..2fa0d1afdd6e09aa8dfcb52279a6f92da26ced3d 100644
|
| --- a/device/serial/serial_io_handler.cc
|
| +++ b/device/serial/serial_io_handler.cc
|
| @@ -126,7 +126,7 @@ void SerialIoHandler::StartOpen(
|
| const std::string& port,
|
| scoped_refptr<base::SingleThreadTaskRunner> io_task_runner) {
|
| DCHECK(!open_complete_.is_null());
|
| - DCHECK(file_thread_task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(file_thread_task_runner_->RunsTasksInCurrentSequence());
|
| DCHECK(!file_.IsValid());
|
| // It's the responsibility of the API wrapper around SerialIoHandler to
|
| // validate the supplied path against the set of valid port names, and
|
|
|