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 5ac6a059bc0851ae095e44ae9d5484c48381c7e8..25832135ea14a6cd8be7ce99ecd53b4f6ee4423a 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp |
@@ -133,7 +133,7 @@ void BluetoothRemoteGATTServer::GetPrimaryServicesCallback( |
gattServices.reserveInitialCapacity(services->size()); |
for (const auto& service : services.value()) { |
- gattServices.append(m_device->getOrCreateRemoteGATTService( |
+ gattServices.push_back(m_device->getOrCreateRemoteGATTService( |
service->instance_id, service->uuid, true /* isPrimary */, |
device()->id())); |
} |