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

Unified Diff: third_party/WebKit/Source/core/fileapi/FileReader.cpp

Issue 2703833002: Migrate WTF::HashSet::remove() to ::erase() [part 2] (Closed)
Patch Set: Created 3 years, 10 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/fileapi/FileReader.cpp
diff --git a/third_party/WebKit/Source/core/fileapi/FileReader.cpp b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
index 6d32b49314641a81c7f040ccc11fcb147515dcaa..2424bcfe7330fd0a8a3b61018e8fa1fd3c9f37ef 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReader.cpp
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
@@ -144,7 +144,7 @@ class FileReader::ThrottlingController final
FinishReaderType removeReader(FileReader* reader) {
FileReaderHashSet::const_iterator hashIter = m_runningReaders.find(reader);
if (hashIter != m_runningReaders.end()) {
- m_runningReaders.remove(hashIter);
+ m_runningReaders.erase(hashIter);
return RunPendingReaders;
}
FileReaderDeque::const_iterator dequeEnd = m_pendingReaders.end();

Powered by Google App Engine
This is Rietveld 408576698