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

Unified Diff: content/browser/indexed_db/indexed_db_transaction_unittest.cc

Issue 237143006: Make iterating over a corrupted IndexedDB fail. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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: content/browser/indexed_db/indexed_db_transaction_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_transaction_unittest.cc b/content/browser/indexed_db/indexed_db_transaction_unittest.cc
index 463ebdc96381b32e38079ea6a696275882a67b46..84631330dd8efe23c3b09bf0978604a657ee7501 100644
--- a/content/browser/indexed_db/indexed_db_transaction_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_transaction_unittest.cc
@@ -19,10 +19,12 @@ class IndexedDBTransactionTest : public testing::Test {
IndexedDBTransactionTest() {
IndexedDBFactory* factory = NULL;
backing_store_ = new IndexedDBFakeBackingStore();
+ leveldb::Status s;
db_ = IndexedDBDatabase::Create(base::ASCIIToUTF16("db"),
backing_store_,
factory,
- IndexedDBDatabase::Identifier());
+ IndexedDBDatabase::Identifier(),
+ s);
}
void RunPostedTasks() { message_loop_.RunUntilIdle(); }

Powered by Google App Engine
This is Rietveld 408576698