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

Unified Diff: Source/bindings/core/v8/ModuleProxy.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.h ('k') | Source/bindings/core/v8/V8RecursionScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ModuleProxy.cpp
diff --git a/Source/bindings/core/v8/ModuleProxy.cpp b/Source/bindings/core/v8/ModuleProxy.cpp
index 30f06078b7948cdd7a9907044c7c1c3082d9b363..e213000c1c384dbf241703b45bc53677a641e657 100644
--- a/Source/bindings/core/v8/ModuleProxy.cpp
+++ b/Source/bindings/core/v8/ModuleProxy.cpp
@@ -37,4 +37,15 @@ void ModuleProxy::registerToV8ForEventTarget(v8::Handle<v8::Value> (*toV8ForEven
m_toV8ForEventTarget = toV8ForEventTarget;
}
+void ModuleProxy::didLeaveScriptContextForRecursionScope(ExecutionContext& executionContext)
+{
+ RELEASE_ASSERT(m_didLeaveScriptContextForRecursionScope);
+ (*m_didLeaveScriptContextForRecursionScope)(executionContext);
+}
+
+void ModuleProxy::registerDidLeaveScriptContextForRecursionScope(void (*didLeaveScriptContext)(ExecutionContext&))
+{
+ m_didLeaveScriptContextForRecursionScope = didLeaveScriptContext;
+}
+
} // WebCore
« no previous file with comments | « Source/bindings/core/v8/ModuleProxy.h ('k') | Source/bindings/core/v8/V8RecursionScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698