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 3b81bcf43e83955ad9c6defe380cd61efc3ab3fa..fe9684c3f2eba5805c006c5f7afe3c69c1f7bb89 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp |
@@ -93,7 +93,7 @@ TEST(IDBTransactionTest, EnsureLifetime) { |
// This will generate an abort() call to the back end which is dropped by the fake proxy, |
// so an explicit onAbort call is made. |
- scope.getExecutionContext()->stopActiveDOMObjects(); |
+ scope.getExecutionContext()->notifyContextDestroyed(); |
transaction->onAbort(DOMException::create(AbortError, "Aborted")); |
transaction.clear(); |
@@ -135,7 +135,7 @@ TEST(IDBTransactionTest, TransactionFinish) { |
EXPECT_EQ(1u, set.size()); |
// Stop the context, so events don't get queued (which would keep the transaction alive). |
- scope.getExecutionContext()->stopActiveDOMObjects(); |
+ scope.getExecutionContext()->notifyContextDestroyed(); |
// Fire an abort to make sure this doesn't free the transaction during use. The test |
// will not fail if it is, but ASAN would notice the error. |