diff options
Diffstat (limited to 'WebCore/bindings/v8/ScriptCallStack.h')
-rw-r--r-- | WebCore/bindings/v8/ScriptCallStack.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/bindings/v8/ScriptCallStack.h b/WebCore/bindings/v8/ScriptCallStack.h index f6a7e39..8ac394c 100644 --- a/WebCore/bindings/v8/ScriptCallStack.h +++ b/WebCore/bindings/v8/ScriptCallStack.h @@ -35,7 +35,6 @@ #include "ScriptState.h" #include "ScriptValue.h" #include <wtf/Noncopyable.h> -#include <wtf/OwnPtr.h> namespace v8 { class Arguments; @@ -52,13 +51,14 @@ namespace WebCore { // FIXME: implement retrieving and storing call stack trace unsigned size() const { return 1; } - ScriptState* state() const { return m_scriptState.get(); } + ScriptState* state() const { return m_scriptState; } + ScriptState* globalState() const { return m_scriptState; } private: ScriptCallStack(const v8::Arguments& arguments, unsigned skipArgumentCount, String sourceName, int sourceLineNumber); ScriptCallFrame m_lastCaller; - OwnPtr<ScriptState> m_scriptState; + ScriptState* m_scriptState; }; } // namespace WebCore |