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

Unified Diff: Source/bindings/modules/v8/ModuleBindingsInitializer.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/bindings/modules/v8/ModuleBindingsInitializer.cpp
diff --git a/Source/bindings/modules/v8/ModuleBindingsInitializer.cpp b/Source/bindings/modules/v8/ModuleBindingsInitializer.cpp
index ff087e35dc2c70ff719811c56b0b8a6636c00e92..0650061d4cc261626d4d756e13b063cacb80b371 100644
--- a/Source/bindings/modules/v8/ModuleBindingsInitializer.cpp
+++ b/Source/bindings/modules/v8/ModuleBindingsInitializer.cpp
@@ -11,11 +11,11 @@
namespace blink {
-static void didLeaveScriptContextForModule(ExecutionContext& executionContext)
+static void didLeaveScriptContextForModule(v8::Isolate* isolate)
{
// 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(executionContext).deactivateNewTransactions();
+ IDBPendingTransactionMonitor::deactivateNewTransactions(isolate);
}
void ModuleBindingsInitializer::init()

Powered by Google App Engine
This is Rietveld 408576698