Index: Source/modules/indexeddb/IDBTransactionTest.cpp |
diff --git a/Source/modules/indexeddb/IDBTransactionTest.cpp b/Source/modules/indexeddb/IDBTransactionTest.cpp |
index 6252c27749f50a0f635ed8a9a8e6e7d77884008b..bb992f51e09460666b9e747bae1ab82964293e19 100644 |
--- a/Source/modules/indexeddb/IDBTransactionTest.cpp |
+++ b/Source/modules/indexeddb/IDBTransactionTest.cpp |
@@ -100,7 +100,7 @@ TEST_F(IDBTransactionTest, EnsureLifetime) |
const int64_t transactionId = 1234; |
const Vector<String> transactionScope; |
- Persistent<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, blink::WebIDBDatabase::TransactionReadOnly, db.get()); |
+ Persistent<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, blink::WebIDBTransactionModeReadOnly, db.get()); |
PersistentHeapHashSet<WeakMember<IDBTransaction> > set; |
set.add(transaction); |
@@ -130,7 +130,7 @@ TEST_F(IDBTransactionTest, TransactionFinish) |
const int64_t transactionId = 1234; |
const Vector<String> transactionScope; |
- Persistent<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, blink::WebIDBDatabase::TransactionReadOnly, db.get()); |
+ Persistent<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, blink::WebIDBTransactionModeReadOnly, db.get()); |
PersistentHeapHashSet<WeakMember<IDBTransaction> > set; |
set.add(transaction); |