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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase Created 3 years, 10 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: third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp
index 1b2c8bd0c88efd708c879a97505363415dbc9d18..f0bfc4b04e2944f601d0b77c56f961d6b48e6619 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp
@@ -304,7 +304,7 @@ String getUUIDForGATTAttribute(GATTAttribute attribute,
}
if (map->contains(nameStr))
- return BluetoothUUID::canonicalUUID(map->get(nameStr));
+ return BluetoothUUID::canonicalUUID(map->at(nameStr));
StringBuilder errorMessage;
errorMessage.append("Invalid ");

Powered by Google App Engine
This is Rietveld 408576698