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

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

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase 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/QuotaTracker.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp b/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp
index e5d6598566137b705c8bc55d75e501b40423fd90..63d26c94f78acdcbbbdb449e386e831d45f34273 100644
--- a/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp
@@ -55,10 +55,10 @@ void QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin(
HashMap<String, SizeMap>::const_iterator it =
m_databaseSizes.find(origin->toRawString());
ASSERT(it->value.contains(databaseName));
- *databaseSize = it->value.get(databaseName);
+ *databaseSize = it->value.at(databaseName);
if (m_spaceAvailableToOrigins.contains(origin->toRawString())) {
- *spaceAvailable = m_spaceAvailableToOrigins.get(origin->toRawString());
+ *spaceAvailable = m_spaceAvailableToOrigins.at(origin->toRawString());
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698