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

Unified Diff: third_party/WebKit/Source/core/dom/UserActionElementSet.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs 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/UserActionElementSet.cpp
diff --git a/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp b/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp
index 68424d5b0ae10b8bfa54deeb4fc5e60d6488adc1..c9ef6bf227ef4923cbc2fa86c4df7d5a6fd4fbbc 100644
--- a/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp
+++ b/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp
@@ -98,7 +98,7 @@ inline void UserActionElementSet::setFlags(Element* element, unsigned flags) {
}
element->setUserActionElement(true);
- m_elements.add(element, flags);
+ m_elements.insert(element, flags);
}
DEFINE_TRACE(UserActionElementSet) {

Powered by Google App Engine
This is Rietveld 408576698