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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutCounter.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/layout/LayoutCounter.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutCounter.cpp b/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
index 2213a17327877891dad4141352e7ef53abde0c9f..b3ca0c4854fc6aedf867d4eaf408c6ba8ed75d3e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
@@ -505,7 +505,7 @@ static void destroyCounterNodeWithoutMapRemoval(const AtomicString& identifier,
previous = child->previousInPreOrder();
child->parent()->removeChild(child.get());
ASSERT(counterMaps().get(&child->owner())->get(identifier) == child);
- counterMaps().get(&child->owner())->remove(identifier);
+ counterMaps().get(&child->owner())->erase(identifier);
}
if (CounterNode* parent = node->parent())
parent->removeChild(node);

Powered by Google App Engine
This is Rietveld 408576698