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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineTextBox.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/line/InlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
index def2e28e67bb283721cba57897391ae8c7099eb8..4b12c77613e553b002acb1d6ba8d41e8a3933fcc 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
@@ -56,7 +56,7 @@ void InlineTextBox::destroy() {
AbstractInlineTextBox::willDestroy(this);
if (!knownToHaveNoOverflow() && gTextBoxesWithOverflow)
- gTextBoxesWithOverflow->remove(this);
+ gTextBoxesWithOverflow->erase(this);
InlineTextBoxPainter::removeFromTextBlobCache(*this);
InlineBox::destroy();
}

Powered by Google App Engine
This is Rietveld 408576698