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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.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
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
index a338fc0199d5b0d6cf1799e1397b78bce558cfdd..e25183c0f3154014b93ec5835f1047579c084a34 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
@@ -71,7 +71,7 @@ void BluetoothRemoteGATTService::GetCharacteristicsCallback(
if (quantity == mojom::blink::WebBluetoothGATTQueryQuantity::SINGLE) {
DCHECK_EQ(1u, characteristics->size());
resolver->resolve(device()->getOrCreateRemoteGATTCharacteristic(
- resolver->getExecutionContext(), serviceInstanceId,
+ resolver->getExecutionContext(),
std::move(characteristics.value()[0]), this));
return;
}
@@ -81,8 +81,8 @@ void BluetoothRemoteGATTService::GetCharacteristicsCallback(
for (auto& characteristic : characteristics.value()) {
gattCharacteristics.push_back(
device()->getOrCreateRemoteGATTCharacteristic(
- resolver->getExecutionContext(), serviceInstanceId,
- std::move(characteristic), this));
+ resolver->getExecutionContext(), std::move(characteristic),
+ this));
}
resolver->resolve(gattCharacteristics);
} else {
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698