Index: Source/core/inspector/InspectorInstrumentation.idl |
diff --git a/Source/core/inspector/InspectorInstrumentation.idl b/Source/core/inspector/InspectorInstrumentation.idl |
index 288d5dadaf3de8d8bf94fc2d0ceb9f5b487bd66f..25177071eeccf96e665638f3d58c92d769e5788a 100644 |
--- a/Source/core/inspector/InspectorInstrumentation.idl |
+++ b/Source/core/inspector/InspectorInstrumentation.idl |
@@ -473,17 +473,13 @@ interface InspectorInstrumentation { |
interface InspectorConsoleInstrumentation { |
+#include "core/inspector/ConsoleMessage.h" |
#include "core/inspector/ScriptArguments.h" |
#include "core/inspector/ScriptCallStack.h" |
- // FIXME: Convert to ScriptArguments to match non-worker context. |
// Use the same implementation as above as a similar method dispatched on Page. |
[Console] |
- void addMessageToConsole(ExecutionContext* context, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); |
- |
- // Use the same implementation as above as a similar method dispatched on Page. |
- [Console] |
- void addMessageToConsole(ExecutionContext* context, MessageSource source, MessageType type, MessageLevel level, const String& message, const String& scriptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigned long requestIdentifier = 0); |
+ void addMessageToConsole(ExecutionContext* context, PassRefPtr<ConsoleMessage> consoleMessage); |
[Console, Debugger] |
void addConsoleAPIMessageToConsole(ExecutionContext* context, MessageType type, MessageLevel level, const String& message, ScriptState* state, PassRefPtrWillBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); |