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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseManager.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/DatabaseManager.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
index 6ded8df0b5b95539474e5ff8fd99516be22efed4..5d8a7cce1fff5cfa7a5a45780e3563a739887087 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
@@ -73,7 +73,7 @@ DatabaseContext* DatabaseManager::existingDatabaseContextFor(
ASSERT(m_databaseContextRegisteredCount >= 0);
ASSERT(m_databaseContextInstanceCount >= 0);
ASSERT(m_databaseContextRegisteredCount <= m_databaseContextInstanceCount);
- return m_contextMap.get(context);
+ return m_contextMap.at(context);
}
DatabaseContext* DatabaseManager::databaseContextFor(
@@ -95,7 +95,7 @@ void DatabaseManager::registerDatabaseContext(
void DatabaseManager::unregisterDatabaseContext(
DatabaseContext* databaseContext) {
ExecutionContext* context = databaseContext->getExecutionContext();
- ASSERT(m_contextMap.get(context));
+ ASSERT(m_contextMap.at(context));
#if DCHECK_IS_ON()
m_databaseContextRegisteredCount--;
#endif

Powered by Google App Engine
This is Rietveld 408576698