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

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

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 11 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/DatabaseManager.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
index abab2e2bc0b375d63ffdd3e88d83e4b72c34a700..0eb1172da0ccd85c5c08dafeaf4f91065e9ffb60 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
@@ -106,7 +106,7 @@ void DatabaseManager::unregisterDatabaseContext(
#if DCHECK_IS_ON()
m_databaseContextRegisteredCount--;
#endif
- m_contextMap.remove(context);
+ m_contextMap.erase(context);
}
#if DCHECK_IS_ON()

Powered by Google App Engine
This is Rietveld 408576698