Chromium Code Reviews| Index: device/serial/serial_connection.cc |
| diff --git a/device/serial/serial_connection.cc b/device/serial/serial_connection.cc |
| index 0845b88189ce37de01e71229723ce0afa7d5f8e0..0f6dc855c0dc54b88b66c58c4129e70b5848e603 100644 |
| --- a/device/serial/serial_connection.cc |
| +++ b/device/serial/serial_connection.cc |
| @@ -42,8 +42,4 @@ void SerialConnection::Flush(const mojo::Callback<void(bool)>& callback) { |
| callback.Run(io_handler_->Flush()); |
| } |
| -void SerialConnection::OnConnectionError() { |
| - delete this; |
| -} |
| - |
| } // namespace device |