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

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

Issue 2724363002: Migrate WTF::LinkedHashSet/ListHashSet::add() to ::insert() (Closed)
Patch Set: 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/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 b5c47aef977289ef653e29d130430df17d353fec..89da4cf3c5ef594462eee9fd5cb6cd7c47bc06c6 100644
--- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
@@ -405,7 +405,7 @@ DEFINE_TRACE(DocumentState) {
void DocumentState::addControl(HTMLFormControlElementWithState* control) {
DCHECK(!m_formControls.contains(control));
- m_formControls.add(control);
+ m_formControls.insert(control);
}
void DocumentState::removeControl(HTMLFormControlElementWithState* control) {

Powered by Google App Engine
This is Rietveld 408576698