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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.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/custom/CustomElementReactionStack.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
index 255bb55c83a9ceef767d02435b86d4609f519de2..8cc210616049a0183aa6932d905a13cd461ab35b 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
@@ -78,7 +78,7 @@ void CustomElementReactionStack::enqueue(Member<ElementQueue>& queue,
CustomElementReactionQueue* reactions = m_map.get(element);
if (!reactions) {
reactions = new CustomElementReactionQueue();
- m_map.add(TraceWrapperMember<Element>(this, element), reactions);
+ m_map.insert(TraceWrapperMember<Element>(this, element), reactions);
}
reactions->add(reaction);

Powered by Google App Engine
This is Rietveld 408576698