summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/ScriptCallFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/ScriptCallFrame.h')
-rw-r--r--WebCore/inspector/ScriptCallFrame.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/WebCore/inspector/ScriptCallFrame.h b/WebCore/inspector/ScriptCallFrame.h
index 60d77e1..2c025dc 100644
--- a/WebCore/inspector/ScriptCallFrame.h
+++ b/WebCore/inspector/ScriptCallFrame.h
@@ -32,7 +32,7 @@
#define ScriptCallFrame_h
#include "PlatformString.h"
-#include <wtf/PassRefPtr.h>
+#include <wtf/Forward.h>
namespace WebCore {
@@ -40,11 +40,11 @@ class InspectorObject;
class ScriptCallFrame {
public:
- ScriptCallFrame(const String& functionName, const String& urlString, unsigned lineNumber);
+ ScriptCallFrame(const String& functionName, const String& scriptName, unsigned lineNumber, unsigned column = 0);
~ScriptCallFrame();
const String& functionName() const { return m_functionName; }
- const String& sourceURL() const { return m_sourceURL; }
+ const String& sourceURL() const { return m_scriptName; }
unsigned lineNumber() const { return m_lineNumber; }
bool isEqual(const ScriptCallFrame&) const;
@@ -52,8 +52,9 @@ public:
private:
String m_functionName;
- String m_sourceURL;
+ String m_scriptName;
unsigned m_lineNumber;
+ unsigned m_column;
};
} // namespace WebCore