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

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

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (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/dom/ChildListMutationScope.cpp
diff --git a/third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp b/third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp
index 06597ed6990e0c7f5839bb5dd12cf0ceb7278d87..6e6108dc4a1dae202ba4693aeddad6d563cddb55 100644
--- a/third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp
+++ b/third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp
@@ -69,7 +69,7 @@ void ChildListMutationAccumulator::leaveMutationScope() {
ChildListMutationAccumulator* ChildListMutationAccumulator::getOrCreate(
Node& target) {
- AccumulatorMap::AddResult result = accumulatorMap().add(&target, nullptr);
+ AccumulatorMap::AddResult result = accumulatorMap().insert(&target, nullptr);
ChildListMutationAccumulator* accumulator;
if (!result.isNewEntry) {
accumulator = result.storedValue->value;

Powered by Google App Engine
This is Rietveld 408576698