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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp

Issue 2314933005: Align IndexedDB metadata rollback on transaction abort to spec. (Closed)
Patch Set: Rebased past the big reformat. Created 4 years, 2 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/InspectorIndexedDBAgent.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
index a563758752782bc3b31b29fbec5ab0eea1a0cd31..457e082571c661d778bf641efad4dca39eb32ded 100644
--- a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
@@ -343,14 +343,14 @@ class DatabaseLoader final : public ExecutableWithDatabase {
protocol::Array<protocol::IndexedDB::ObjectStore>::create();
for (const auto& storeMapEntry : databaseMetadata.objectStores) {
- const IDBObjectStoreMetadata& objectStoreMetadata = storeMapEntry.value;
+ const IDBObjectStoreMetadata& objectStoreMetadata = *storeMapEntry.value;
std::unique_ptr<protocol::Array<protocol::IndexedDB::ObjectStoreIndex>>
indexes =
protocol::Array<protocol::IndexedDB::ObjectStoreIndex>::create();
for (const auto& metadataMapEntry : objectStoreMetadata.indexes) {
- const IDBIndexMetadata& indexMetadata = metadataMapEntry.value;
+ const IDBIndexMetadata& indexMetadata = *metadataMapEntry.value;
std::unique_ptr<ObjectStoreIndex> objectStoreIndex =
ObjectStoreIndex::create()

Powered by Google App Engine
This is Rietveld 408576698