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

Unified Diff: third_party/WebKit/Source/core/dom/WeakIdentifierMap.h

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/core/dom/WeakIdentifierMap.h
diff --git a/third_party/WebKit/Source/core/dom/WeakIdentifierMap.h b/third_party/WebKit/Source/core/dom/WeakIdentifierMap.h
index 4eae8473f2639782fc829c04bcca8f29b2c1d7a4..2cf3e1844ab7c891cc2dc3c7179ca07bba1e2dbe 100644
--- a/third_party/WebKit/Source/core/dom/WeakIdentifierMap.h
+++ b/third_party/WebKit/Source/core/dom/WeakIdentifierMap.h
@@ -50,7 +50,7 @@ class WeakIdentifierMap final
IsGarbageCollectedType<T>::value> {
public:
static IdentifierType identifier(T* object) {
- IdentifierType result = instance().m_objectToIdentifier.get(object);
+ IdentifierType result = instance().m_objectToIdentifier.at(object);
if (WTF::isHashTraitsEmptyValue<HashTraits<IdentifierType>>(result)) {
result = next();
@@ -60,7 +60,7 @@ class WeakIdentifierMap final
}
static T* lookup(IdentifierType identifier) {
- return instance().m_identifierToObject.get(identifier);
+ return instance().m_identifierToObject.at(identifier);
}
static void notifyObjectDestroyed(T* object) {

Powered by Google App Engine
This is Rietveld 408576698