| Index: device/serial/serial_connection_factory.cc
|
| diff --git a/device/serial/serial_connection_factory.cc b/device/serial/serial_connection_factory.cc
|
| index 386286318305d49c53011a15739ccf7cbfadd4af..3e309b46ca4fdf908f9b19f57bed4c4f02f8441b 100644
|
| --- a/device/serial/serial_connection_factory.cc
|
| +++ b/device/serial/serial_connection_factory.cc
|
| @@ -114,7 +114,7 @@ void SerialConnectionFactory::ConnectTask::Connect() {
|
| }
|
|
|
| void SerialConnectionFactory::ConnectTask::OnConnected(bool success) {
|
| - DCHECK(io_handler_);
|
| + DCHECK(io_handler_.get());
|
| if (!success)
|
| return;
|
| if (!options_)
|
|
|