Index: Source/core/frame/FrameConsole.h |
diff --git a/Source/core/frame/FrameConsole.h b/Source/core/frame/FrameConsole.h |
index a2a14f058468fb21455890641abe27cc92a8b21a..c01e50790c5d987f91f2f2ece8cd7605f3bf39ae 100644 |
--- a/Source/core/frame/FrameConsole.h |
+++ b/Source/core/frame/FrameConsole.h |
@@ -37,6 +37,7 @@ |
namespace WebCore { |
+class ConsoleMessage; |
class FrameHost; |
// FrameConsole takes per-frame console messages and routes them up through the FrameHost to the ChromeClient and Inspector. |
@@ -45,9 +46,7 @@ class FrameConsole FINAL { |
public: |
static PassOwnPtr<FrameConsole> create(LocalFrame& frame) { return adoptPtr(new FrameConsole(frame)); } |
- void addMessage(MessageSource, MessageLevel, const String& message); |
- void addMessage(MessageSource, MessageLevel, const String& message, const String& sourceURL, unsigned lineNumber, unsigned columnNumber = 0, PassRefPtrWillBeRawPtr<ScriptCallStack> = nullptr, ScriptState* = 0, unsigned long requestIdentifier = 0); |
- void addMessage(MessageSource, MessageLevel, const String& message, PassRefPtrWillBeRawPtr<ScriptCallStack>); |
+ void addMessage(PassRefPtr<ConsoleMessage>); |
static String formatStackTraceString(const String& originalMessage, PassRefPtrWillBeRawPtr<ScriptCallStack>); |
static void mute(); |