| Index: device/serial/serial_service_unittest.cc
|
| diff --git a/device/serial/serial_service_unittest.cc b/device/serial/serial_service_unittest.cc
|
| index b14d95f1f3e618aa459e4106a88826da4226bb91..a02d075df7adae441ee1afbfd7b455197bd4e13f 100644
|
| --- a/device/serial/serial_service_unittest.cc
|
| +++ b/device/serial/serial_service_unittest.cc
|
| @@ -70,7 +70,7 @@ class SerialServiceTest : public testing::Test, public mojo::ErrorHandler {
|
| scoped_refptr<SerialIoHandler> ReturnIoHandler() { return io_handler_; }
|
|
|
| void RunConnectTest(const std::string& path, bool expecting_success) {
|
| - if (!io_handler_)
|
| + if (!io_handler_.get())
|
| io_handler_ = new TestSerialIoHandler;
|
| mojo::InterfacePtr<serial::SerialService> service;
|
| mojo::BindToProxy(
|
|
|