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 { |