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() { |
} |