diff options
Diffstat (limited to 'WebCore/bindings/v8/ScriptCallStack.h')
-rw-r--r-- | WebCore/bindings/v8/ScriptCallStack.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/bindings/v8/ScriptCallStack.h b/WebCore/bindings/v8/ScriptCallStack.h index 3ba01c5..f6a7e39 100644 --- a/WebCore/bindings/v8/ScriptCallStack.h +++ b/WebCore/bindings/v8/ScriptCallStack.h @@ -45,7 +45,7 @@ namespace WebCore { class ScriptCallStack : public Noncopyable { public: - ScriptCallStack(const v8::Arguments&, unsigned skipArgumentCount = 0); + static ScriptCallStack* create(const v8::Arguments&, unsigned skipArgumentCount = 0); ~ScriptCallStack(); const ScriptCallFrame& at(unsigned) const; @@ -55,6 +55,8 @@ namespace WebCore { ScriptState* state() const { return m_scriptState.get(); } private: + ScriptCallStack(const v8::Arguments& arguments, unsigned skipArgumentCount, String sourceName, int sourceLineNumber); + ScriptCallFrame m_lastCaller; OwnPtr<ScriptState> m_scriptState; }; |