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

Unified Diff: device/serial/serial_io_handler_posix.cc

Issue 2914173002: Removing file_thread_task_runner parameter from SerialIoHandler (Closed)
Patch Set: removed unused variable Created 3 years, 6 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/serial/serial_io_handler_posix.h ('k') | device/serial/serial_io_handler_posix_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_io_handler_posix.cc
diff --git a/device/serial/serial_io_handler_posix.cc b/device/serial/serial_io_handler_posix.cc
index bf5b8083b4fe42211cbb9a5b6b4348a771a9ed4e..8ffba1216eb05c8acfeb387b1ae28fe272a2f775 100644
--- a/device/serial/serial_io_handler_posix.cc
+++ b/device/serial/serial_io_handler_posix.cc
@@ -113,10 +113,8 @@ namespace device {
// static
scoped_refptr<SerialIoHandler> SerialIoHandler::Create(
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner) {
- return new SerialIoHandlerPosix(file_thread_task_runner,
- ui_thread_task_runner);
+ return new SerialIoHandlerPosix(ui_thread_task_runner);
}
void SerialIoHandlerPosix::ReadImpl() {
@@ -292,9 +290,8 @@ bool SerialIoHandlerPosix::PostOpen() {
}
SerialIoHandlerPosix::SerialIoHandlerPosix(
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner)
- : SerialIoHandler(file_thread_task_runner, ui_thread_task_runner) {}
+ : SerialIoHandler(ui_thread_task_runner) {}
SerialIoHandlerPosix::~SerialIoHandlerPosix() {
}
« no previous file with comments | « device/serial/serial_io_handler_posix.h ('k') | device/serial/serial_io_handler_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698