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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.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/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index 6eb9de45a6f9a9740fe28b4b458f4785af035b87..434c340a29739f0269b6663014d74b9a0f577d9d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -1333,9 +1333,9 @@ void LayoutBox::setExtraBlockOffset(LayoutUnit blockOffest) {
void LayoutBox::clearExtraInlineAndBlockOffests() {
if (gExtraInlineOffsetMap)
- gExtraInlineOffsetMap->remove(this);
+ gExtraInlineOffsetMap->erase(this);
if (gExtraBlockOffsetMap)
- gExtraBlockOffsetMap->remove(this);
+ gExtraBlockOffsetMap->erase(this);
}
LayoutUnit LayoutBox::adjustBorderBoxLogicalWidthForBoxSizing(
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698