| 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 806e49fbbfce4c1938462e3f08ff227943c9becc..0bb6d6598f5ebb2ac4bcd204362566c1cd0e3caf 100644
|
| --- a/device/serial/serial_io_handler_posix.cc
|
| +++ b/device/serial/serial_io_handler_posix.cc
|
| @@ -122,8 +122,9 @@ bool SetCustomBitrate(base::PlatformFile file,
|
| namespace device {
|
|
|
| // static
|
| -scoped_refptr<SerialIoHandler> SerialIoHandler::Create() {
|
| - return new SerialIoHandlerPosix();
|
| +scoped_refptr<SerialIoHandler> SerialIoHandler::Create(
|
| + scoped_refptr<base::MessageLoopProxy> file_thread_message_loop) {
|
| + return new SerialIoHandlerPosix(file_thread_message_loop);
|
| }
|
|
|
| void SerialIoHandlerPosix::ReadImpl() {
|
| @@ -156,8 +157,11 @@ void SerialIoHandlerPosix::CancelWriteImpl() {
|
| QueueWriteCompleted(0, write_cancel_reason());
|
| }
|
|
|
| -SerialIoHandlerPosix::SerialIoHandlerPosix()
|
| - : is_watching_reads_(false), is_watching_writes_(false) {
|
| +SerialIoHandlerPosix::SerialIoHandlerPosix(
|
| + scoped_refptr<base::MessageLoopProxy> file_thread_message_loop)
|
| + : SerialIoHandler(file_thread_message_loop),
|
| + is_watching_reads_(false),
|
| + is_watching_writes_(false) {
|
| }
|
|
|
| SerialIoHandlerPosix::~SerialIoHandlerPosix() {
|
|
|