Index: Source/core/inspector/InspectorInstrumentation.idl |
diff --git a/Source/core/inspector/InspectorInstrumentation.idl b/Source/core/inspector/InspectorInstrumentation.idl |
index a342ed6c17abc0e323907757a616bcda1298bde4..e5cd6ea7a556c239402750b46fe8bce484a28990 100644 |
--- a/Source/core/inspector/InspectorInstrumentation.idl |
+++ b/Source/core/inspector/InspectorInstrumentation.idl |
@@ -457,15 +457,12 @@ interface InspectorConsoleInstrumentation { |
#include "core/inspector/ScriptArguments.h" |
#include "core/inspector/ScriptCallStack.h" |
+#include "core/inspector/ConsoleMessage.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 addMessageToConsole(ExecutionContext* context, MessageSource source, MessageType type, MessageLevel level, const String& message, ScriptState* state, PassRefPtrWillBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); |