Index: third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp |
index 2695044b64a2d4306d67bfaeb315d9ecbec640dd..8fb436a6cec6f1f8077d2464fa22a1c53f650169 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp |
@@ -101,13 +101,13 @@ |
PersistentHeapHashSet<WeakMember<IDBTransaction>> set; |
set.add(transaction); |
- ThreadHeap::collectAllGarbage(); |
+ Heap::collectAllGarbage(); |
EXPECT_EQ(1u, set.size()); |
Persistent<IDBRequest> request = IDBRequest::create(getScriptState(), IDBAny::createUndefined(), transaction.get()); |
deactivateNewTransactions(); |
- ThreadHeap::collectAllGarbage(); |
+ Heap::collectAllGarbage(); |
EXPECT_EQ(1u, set.size()); |
// This will generate an abort() call to the back end which is dropped by the fake proxy, |
@@ -116,7 +116,7 @@ |
transaction->onAbort(DOMException::create(AbortError, "Aborted")); |
transaction.clear(); |
- ThreadHeap::collectAllGarbage(); |
+ Heap::collectAllGarbage(); |
EXPECT_EQ(0u, set.size()); |
} |
@@ -136,17 +136,17 @@ |
PersistentHeapHashSet<WeakMember<IDBTransaction>> set; |
set.add(transaction); |
- ThreadHeap::collectAllGarbage(); |
+ Heap::collectAllGarbage(); |
EXPECT_EQ(1u, set.size()); |
deactivateNewTransactions(); |
- ThreadHeap::collectAllGarbage(); |
+ Heap::collectAllGarbage(); |
EXPECT_EQ(1u, set.size()); |
transaction.clear(); |
- ThreadHeap::collectAllGarbage(); |
+ Heap::collectAllGarbage(); |
EXPECT_EQ(1u, set.size()); |
// Stop the context, so events don't get queued (which would keep the transaction alive). |
@@ -157,7 +157,7 @@ |
db->onAbort(transactionId, DOMException::create(AbortError, "Aborted")); |
// onAbort() should have cleared the transaction's reference to the database. |
- ThreadHeap::collectAllGarbage(); |
+ Heap::collectAllGarbage(); |
EXPECT_EQ(0u, set.size()); |
} |