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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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: 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.

Powered by Google App Engine
This is Rietveld 408576698