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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.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/indexeddb/IDBTransaction.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
index d08d4614921efdc69e52d1dd492224862e5a3789..22cc3dbbf01b8d483f6f55781a2c2ec4f6e8191b 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
@@ -218,7 +218,7 @@ IDBObjectStore* IDBTransaction::objectStore(const String& name,
DCHECK(m_database->metadata().objectStores.contains(objectStoreId));
RefPtr<IDBObjectStoreMetadata> objectStoreMetadata =
- m_database->metadata().objectStores.get(objectStoreId);
+ m_database->metadata().objectStores.at(objectStoreId);
DCHECK(objectStoreMetadata.get());
IDBObjectStore* objectStore =
@@ -264,7 +264,7 @@ void IDBTransaction::objectStoreDeleted(const int64_t objectStoreId,
// correct values from IDB{Database, Transaction}.objectStoreNames.
DCHECK(m_database->metadata().objectStores.contains(objectStoreId));
RefPtr<IDBObjectStoreMetadata> metadata =
- m_database->metadata().objectStores.get(objectStoreId);
+ m_database->metadata().objectStores.at(objectStoreId);
DCHECK(metadata.get());
DCHECK_EQ(metadata->name, name);
m_deletedObjectStores.push_back(std::move(metadata));

Powered by Google App Engine
This is Rietveld 408576698