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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp

Issue 2696183002: Migrate WTF::HashSet::remove() to ::erase() [part 1] (Closed)
Patch Set: one more platform-specific reference 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/modules/webdatabase/DatabaseThread.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
index 19f8b088bec65c390520b17e147703e6a98cf834..4cc549f398fd1f9dc1b86b116093f528e673ef2b 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
@@ -144,7 +144,7 @@ void DatabaseThread::recordDatabaseClosed(Database* database) {
ASSERT(m_terminationRequested || m_openDatabaseSet.contains(database));
}
#endif
- m_openDatabaseSet.remove(database);
+ m_openDatabaseSet.erase(database);
}
bool DatabaseThread::isDatabaseOpen(Database* database) {

Powered by Google App Engine
This is Rietveld 408576698