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

Unified Diff: Source/bindings/core/v8/V8RecursionScope.cpp

Issue 389903002: Split V8RecursionScope into core and modules. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/bindings/core/v8/ModuleProxy.cpp ('k') | Source/bindings/modules/v8/ModuleBindingsInitializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8RecursionScope.cpp
diff --git a/Source/bindings/core/v8/V8RecursionScope.cpp b/Source/bindings/core/v8/V8RecursionScope.cpp
index b6c285851ba32ab35dcc9fbeece91951a9736ed8..77480b83e1d96ab20e60ceb72bd811f31b01eabe 100644
--- a/Source/bindings/core/v8/V8RecursionScope.cpp
+++ b/Source/bindings/core/v8/V8RecursionScope.cpp
@@ -31,18 +31,15 @@
#include "config.h"
#include "bindings/core/v8/V8RecursionScope.h"
+#include "bindings/core/v8/ModuleProxy.h"
#include "core/dom/Microtask.h"
-#include "modules/indexeddb/IDBPendingTransactionMonitor.h"
namespace WebCore {
void V8RecursionScope::didLeaveScriptContext()
{
Microtask::performCheckpoint();
-
- // Indexed DB requires that transactions are created with an internal |active| flag
- // set to true, but the flag becomes false when control returns to the event loop.
- IDBPendingTransactionMonitor::from(m_executionContext).deactivateNewTransactions();
+ ModuleProxy::moduleProxy().didLeaveScriptContextForRecursionScope(m_executionContext);
}
} // namespace WebCore
« no previous file with comments | « Source/bindings/core/v8/ModuleProxy.cpp ('k') | Source/bindings/modules/v8/ModuleBindingsInitializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698