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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/QuotaTracker.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/QuotaTracker.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp b/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp
index 326a22099cdd98d19369d6d87354414faa0e6db2..695469b46b3e855bb17f9fb01d85dee4343be082 100644
--- a/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp
@@ -86,7 +86,7 @@ void QuotaTracker::updateSpaceAvailableToOrigin(
void QuotaTracker::resetSpaceAvailableToOrigin(SecurityOrigin* origin) {
MutexLocker lockData(m_dataGuard);
- m_spaceAvailableToOrigins.remove(origin->toRawString());
+ m_spaceAvailableToOrigins.erase(origin->toRawString());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698