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

Unified Diff: Source/bindings/v8/V8Binding.cpp

Issue 273683006: ScriptPromise should understand the ScriptState from which the ScriptPromise is generated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/v8/V8Binding.cpp
diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp
index 812da6ab86fa4072c8dbae8179eb08f5b04163c2..737c564a3e360ccc0049ac13a97f407bb18fdcdc 100644
--- a/Source/bindings/v8/V8Binding.cpp
+++ b/Source/bindings/v8/V8Binding.cpp
@@ -745,4 +745,14 @@ V8ExecutionScope::~V8ExecutionScope()
m_scriptState->disposePerContextData();
}
+ScriptState* V8ExecutionScope::scriptState() const
+{
+ return m_scriptState.get();
+}
+
+v8::Isolate* V8ExecutionScope::isolate() const
+{
+ return m_scriptState->isolate();
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698