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

Unified Diff: third_party/WebKit/Source/modules/nfc/NFC.cpp

Issue 2693433002: Migrate WTF::HashMap::add() to ::insert() [final] (Closed)
Patch Set: more platform-specific references 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/nfc/NFC.cpp
diff --git a/third_party/WebKit/Source/modules/nfc/NFC.cpp b/third_party/WebKit/Source/modules/nfc/NFC.cpp
index 019cfd8e102749d7f20468e363c3c03d93c77276..4e00b63df56d3c128428ff8af30def3955598954 100644
--- a/third_party/WebKit/Source/modules/nfc/NFC.cpp
+++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp
@@ -816,7 +816,7 @@ void NFC::OnWatchRegistered(MessageCallback* callback,
}
if (error.is_null()) {
- m_callbacks.add(id, callback);
+ m_callbacks.insert(id, callback);
resolver->resolve(id);
} else {
resolver->reject(NFCError::take(resolver, error->error_type));

Powered by Google App Engine
This is Rietveld 408576698