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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.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/platform/heap/ThreadState.cpp
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
index add4a97e061b3a31c00b30e0d0337b97a96d82f6..c0dbce7a49c0dfac511f2d0c042c2382e6d4fe8c 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -1290,7 +1290,7 @@ void ThreadState::invokePreFinalizers() {
if (!done)
--it;
if ((entry->second)(entry->first))
- m_orderedPreFinalizers.remove(entry);
+ m_orderedPreFinalizers.erase(entry);
} while (!done);
}
if (isMainThread()) {

Powered by Google App Engine
This is Rietveld 408576698