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

Unified Diff: content/browser/bluetooth/bluetooth_allowed_devices_map.cc

Issue 2228403003: content: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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: content/browser/bluetooth/bluetooth_allowed_devices_map.cc
diff --git a/content/browser/bluetooth/bluetooth_allowed_devices_map.cc b/content/browser/bluetooth/bluetooth_allowed_devices_map.cc
index b45166427242eb2f7b022f18ac24eac2e57ba7d2..a340edcc08403824698a00bceb21d6e7b1a4933c 100644
--- a/content/browser/bluetooth/bluetooth_allowed_devices_map.cc
+++ b/content/browser/bluetooth/bluetooth_allowed_devices_map.cc
@@ -134,12 +134,12 @@ bool BluetoothAllowedDevicesMap::IsOriginAllowedToAccessService(
return id_iter == device_id_to_services_map.end()
? false
- : ContainsKey(id_iter->second, service_uuid);
+ : base::ContainsKey(id_iter->second, service_uuid);
}
WebBluetoothDeviceId BluetoothAllowedDevicesMap::GenerateUniqueDeviceId() {
WebBluetoothDeviceId device_id = WebBluetoothDeviceId::Create();
- while (ContainsKey(device_id_set_, device_id)) {
+ while (base::ContainsKey(device_id_set_, device_id)) {
LOG(WARNING) << "Generated repeated id.";
device_id = WebBluetoothDeviceId::Create();
}

Powered by Google App Engine
This is Rietveld 408576698