| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp
|
| index 0b5bf81648383036e586b10dc4a6cee9baf761cc..5ac6a059bc0851ae095e44ae9d5484c48381c7e8 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp
|
| @@ -123,7 +123,7 @@ void BluetoothRemoteGATTServer::GetPrimaryServicesCallback(
|
|
|
| if (quantity == mojom::blink::WebBluetoothGATTQueryQuantity::SINGLE) {
|
| DCHECK_EQ(1u, services->size());
|
| - resolver->resolve(m_device->getOrCreateBluetoothRemoteGATTService(
|
| + resolver->resolve(m_device->getOrCreateRemoteGATTService(
|
| services.value()[0]->instance_id, services.value()[0]->uuid,
|
| true /* isPrimary */, device()->id()));
|
| return;
|
| @@ -133,7 +133,7 @@ void BluetoothRemoteGATTServer::GetPrimaryServicesCallback(
|
| gattServices.reserveInitialCapacity(services->size());
|
|
|
| for (const auto& service : services.value()) {
|
| - gattServices.append(m_device->getOrCreateBluetoothRemoteGATTService(
|
| + gattServices.append(m_device->getOrCreateRemoteGATTService(
|
| service->instance_id, service->uuid, true /* isPrimary */,
|
| device()->id()));
|
| }
|
|
|