Index: content/browser/bluetooth/web_bluetooth_service_impl.cc |
diff --git a/content/browser/bluetooth/web_bluetooth_service_impl.cc b/content/browser/bluetooth/web_bluetooth_service_impl.cc |
index f4ab0195f291d1ce6d3eaa9fcd1d93c8e04bd9ea..05f1ebad273044b90192b6a67022ee333025ba56 100644 |
--- a/content/browser/bluetooth/web_bluetooth_service_impl.cc |
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.cc |
@@ -209,8 +209,9 @@ void WebBluetoothServiceImpl::DeviceChanged(device::BluetoothAdapter* adapter, |
connected_devices_->CloseConnectionToDeviceWithAddress( |
device->GetAddress()); |
if (!device_id.empty()) { |
- // TODO(ortuno): Send event to client. |
- // http://crbug.com/581855 |
+ if (client_) { |
+ client_->GattServerDisconnected(device_id); |
+ } |
} |
} |
} |