summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/ConsoleMessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/ConsoleMessage.h')
-rw-r--r--WebCore/inspector/ConsoleMessage.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/WebCore/inspector/ConsoleMessage.h b/WebCore/inspector/ConsoleMessage.h
index 3848dbf..cb5e6f0 100644
--- a/WebCore/inspector/ConsoleMessage.h
+++ b/WebCore/inspector/ConsoleMessage.h
@@ -40,7 +40,8 @@
namespace WebCore {
class InjectedScriptHost;
-class InspectorFrontend;
+class InspectorObject;
+class RemoteInspectorFrontend;
class ScriptCallFrame;
class ScriptCallStack;
class ScriptString;
@@ -51,8 +52,8 @@ public:
ConsoleMessage(MessageSource, MessageType, MessageLevel, const String& m, ScriptCallStack*, unsigned g, bool storeTrace = false);
#if ENABLE(INSPECTOR)
- void addToFrontend(InspectorFrontend*, InjectedScriptHost*);
- void updateRepeatCountInConsole(InspectorFrontend* frontend);
+ void addToFrontend(RemoteInspectorFrontend*, InjectedScriptHost*);
+ void updateRepeatCountInConsole(RemoteInspectorFrontend* frontend);
#endif
void incrementCount() { ++m_repeatCount; }
bool isEqual(ScriptState*, ConsoleMessage* msg) const;
@@ -66,7 +67,9 @@ private:
explicit CallFrame(const ScriptCallFrame& frame);
CallFrame();
bool isEqual(const CallFrame& o) const;
- ScriptObject buildObject(InspectorFrontend* frontend) const;
+#if ENABLE(INSPECTOR)
+ PassRefPtr<InspectorObject> buildInspectorObject() const;
+#endif
private:
String m_functionName;