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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp

Issue 2725063003: Migrate WTF::LinkedHashSet/ListHashSet/HashTable::remove() to ::erase() (Closed)
Patch Set: rebase Created 3 years, 9 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/LayoutFlowThread.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp b/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp
index 65d9abf0ee64e7662d248e3f45c14492e45f62f7..3d5310931846e5443c88bdd45413c4d0896a43ca 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp
@@ -67,7 +67,7 @@ LayoutFlowThread* LayoutFlowThread::locateFlowThreadContainingBlockOf(
void LayoutFlowThread::removeColumnSetFromThread(
LayoutMultiColumnSet* columnSet) {
ASSERT(columnSet);
- m_multiColumnSetList.remove(columnSet);
+ m_multiColumnSetList.erase(columnSet);
invalidateColumnSets();
// Clear the interval tree right away, instead of leaving it around with dead
// objects. Not that anyone _should_ try to access the interval tree when the

Powered by Google App Engine
This is Rietveld 408576698