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

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

Issue 2314933005: Align IndexedDB metadata rollback on transaction abort to spec. (Closed)
Patch Set: Rebased. Created 4 years, 3 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/IDBCursor.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp
index be3602a4c2e2a679cb55389f02c6b2bca0e8c3b5..7157e0414aa15cf904216c822da5f7cf20b9b414 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp
@@ -336,7 +336,7 @@ ScriptValue IDBCursor::value(ScriptState* scriptState)
ASSERT(isCursorWithValue());
IDBObjectStore* objectStore = effectiveObjectStore();
- const IDBObjectStoreMetadata& metadata = objectStore->metadata();
+ const IDBObjectStoreOwnMetadata& metadata = objectStore->metadata().own;
jsbell 2016/09/16 18:17:28 It seems wrong for IDBCursor to know so much about
pwnall 2016/09/17 01:34:21 Done. This looks so clean! :)
IDBAny* value;
if (!m_value) {
value = IDBAny::createUndefined();

Powered by Google App Engine
This is Rietveld 408576698