Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp

Issue 2752663002: Remove RemoteServerDisconnect() from web_bluetooth.mojom (Closed)
Patch Set: address ortuno@'s comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
index 5449f8ca4f7da83ba208221e2467f6c84b78280b..7247bbe7099e661c2ea570a1e3dab4f98d3341fb 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
@@ -75,9 +75,8 @@ bool BluetoothDevice::IsValidDescriptor(const String& descriptorInstanceId) {
return m_attributeInstanceMap->ContainsDescriptor(descriptorInstanceId);
}
-void BluetoothDevice::ClearAttributeInstanceMapAndFireEvent() {
+void BluetoothDevice::ClearAttributeInstanceMap() {
m_attributeInstanceMap->Clear();
- dispatchEvent(Event::createBubble(EventTypeNames::gattserverdisconnected));
}
const WTF::AtomicString& BluetoothDevice::interfaceName() const {

Powered by Google App Engine
This is Rietveld 408576698