Index: device/serial/serial_service_impl.cc |
diff --git a/device/serial/serial_service_impl.cc b/device/serial/serial_service_impl.cc |
index 14a8033f4ed48e06e22c4e1f03abb6341ac9990c..093096d4c2cac15269f7a1262f332d41874e05c8 100644 |
--- a/device/serial/serial_service_impl.cc |
+++ b/device/serial/serial_service_impl.cc |
@@ -62,10 +62,6 @@ void SerialServiceImpl::Connect( |
path, options.Pass(), connection_request.Pass()); |
} |
-void SerialServiceImpl::OnConnectionError() { |
- delete this; |
-} |
- |
SerialDeviceEnumerator* SerialServiceImpl::GetDeviceEnumerator() { |
if (!device_enumerator_) |
device_enumerator_ = SerialDeviceEnumerator::Create(); |