summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/ScriptCallStack.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/ScriptCallStack.h')
-rw-r--r--WebCore/bindings/js/ScriptCallStack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/bindings/js/ScriptCallStack.h b/WebCore/bindings/js/ScriptCallStack.h
index 1907564..52362ea 100644
--- a/WebCore/bindings/js/ScriptCallStack.h
+++ b/WebCore/bindings/js/ScriptCallStack.h
@@ -49,6 +49,7 @@ namespace WebCore {
~ScriptCallStack();
ScriptState* state() const { return m_exec; }
+ ScriptState* globalState() const { return m_exec->lexicalGlobalObject()->globalExec(); }
// frame retrieval methods
const ScriptCallFrame &at(unsigned);
unsigned size();