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

Unified Diff: Source/modules/indexeddb/IDBTransactionTest.cpp

Issue 429453010: Drop V8RecursionScope dependency on ExecutionContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Factor out microtask fix/tests Created 6 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: Source/modules/indexeddb/IDBTransactionTest.cpp
diff --git a/Source/modules/indexeddb/IDBTransactionTest.cpp b/Source/modules/indexeddb/IDBTransactionTest.cpp
index 0235329ca762eb30202a7293a41045fd3336dd6c..133f621ab6eb9a9f77e2acbf718e83bfcc027429 100644
--- a/Source/modules/indexeddb/IDBTransactionTest.cpp
+++ b/Source/modules/indexeddb/IDBTransactionTest.cpp
@@ -105,7 +105,7 @@ TEST_F(IDBTransactionTest, EnsureLifetime)
EXPECT_EQ(1u, set.size());
Persistent<IDBRequest> request = IDBRequest::create(scriptState(), IDBAny::createUndefined(), transaction.get());
- IDBPendingTransactionMonitor::from(*executionContext()).deactivateNewTransactions();
+ IDBPendingTransactionMonitor::deactivateNewTransactions(isolate());
Heap::collectAllGarbage();
EXPECT_EQ(1u, set.size());
@@ -134,7 +134,7 @@ TEST_F(IDBTransactionTest, TransactionFinish)
Heap::collectAllGarbage();
EXPECT_EQ(1u, set.size());
- IDBPendingTransactionMonitor::from(*executionContext()).deactivateNewTransactions();
+ IDBPendingTransactionMonitor::deactivateNewTransactions(isolate());
Heap::collectAllGarbage();
EXPECT_EQ(1u, set.size());

Powered by Google App Engine
This is Rietveld 408576698