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

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

Issue 2624823002: Remove unused service instance id from bluetooth BluetoothRemoteGATTCharacteristic (Closed)
Patch Set: Created 3 years, 11 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/BluetoothAttributeInstanceMap.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
index 5cfa298e48b5e5f382a606c40bd7c0516f9968fd..dcc7a52da0030683533231be4c45b590751e7560 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.cpp
@@ -41,7 +41,6 @@ bool BluetoothAttributeInstanceMap::containsService(
BluetoothRemoteGATTCharacteristic*
BluetoothAttributeInstanceMap::getOrCreateRemoteGATTCharacteristic(
ExecutionContext* context,
- const String& serviceInstanceId,
mojom::blink::WebBluetoothRemoteGATTCharacteristicPtr
remoteGATTCharacteristic,
BluetoothRemoteGATTService* service) {
@@ -51,8 +50,7 @@ BluetoothAttributeInstanceMap::getOrCreateRemoteGATTCharacteristic(
if (!characteristic) {
characteristic = BluetoothRemoteGATTCharacteristic::create(
- context, serviceInstanceId, std::move(remoteGATTCharacteristic),
- service, m_device);
+ context, std::move(remoteGATTCharacteristic), service, m_device);
m_characteristicIdToObject.add(instanceId, characteristic);
}

Powered by Google App Engine
This is Rietveld 408576698