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

Unified Diff: third_party/WebKit/Source/core/html/forms/FormController.cpp

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 11 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/html/forms/FormController.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FormController.cpp b/third_party/WebKit/Source/core/html/forms/FormController.cpp
index e5776ac5eae98041f8d389f49250320cd475c2e0..7d96f148ebd616dc63cbccc7ebbda11e030f9198 100644
--- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
@@ -390,7 +390,7 @@ const AtomicString& FormKeyGenerator::formKey(
void FormKeyGenerator::willDeleteForm(HTMLFormElement* form) {
DCHECK(form);
- m_formToKeyMap.remove(form);
+ m_formToKeyMap.erase(form);
}
// ----------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698