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

Unified Diff: third_party/WebKit/Source/platform/wtf/HashSet.h

Issue 2796413003: Migrate WTF::HashTable::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 8 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/wtf/HashSet.h
diff --git a/third_party/WebKit/Source/platform/wtf/HashSet.h b/third_party/WebKit/Source/platform/wtf/HashSet.h
index 297a1566321a844b7d46ab286ee3e5a67b9737f6..927c3259a2f71be4b177f628bca76347c827d2f3 100644
--- a/third_party/WebKit/Source/platform/wtf/HashSet.h
+++ b/third_party/WebKit/Source/platform/wtf/HashSet.h
@@ -273,7 +273,7 @@ HashSet<Value, HashFunctions, Traits, Allocator>::addWithTranslator(T&& value) {
template <typename T, typename U, typename V, typename W>
inline void HashSet<T, U, V, W>::erase(iterator it) {
- m_impl.remove(it.m_impl);
+ m_impl.erase(it.m_impl);
}
template <typename T, typename U, typename V, typename W>
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/HashMap.h ('k') | third_party/WebKit/Source/platform/wtf/HashTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698