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

Unified Diff: device/serial/serial_io_handler.cc

Issue 2891853003: Rename TaskRunner::RunsTasksOnCurrentThread() in //device, //services (Closed)
Patch Set: fixed build error Created 3 years, 7 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 | « device/power_save_blocker/power_save_blocker_x11.cc ('k') | device/usb/usb_device_handle_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « device/power_save_blocker/power_save_blocker_x11.cc ('k') | device/usb/usb_device_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698