Index: Source/core/inspector/WorkerDebuggerAgent.cpp |
diff --git a/Source/core/inspector/WorkerDebuggerAgent.cpp b/Source/core/inspector/WorkerDebuggerAgent.cpp |
index b7a4c22dd0739da0967681d739adcb5cb6502477..2df25809c4852e2431c3e7570b61ed6db96f29c8 100644 |
--- a/Source/core/inspector/WorkerDebuggerAgent.cpp |
+++ b/Source/core/inspector/WorkerDebuggerAgent.cpp |
@@ -143,4 +143,10 @@ void WorkerDebuggerAgent::unmuteConsole() |
// We don't need to mute console for workers. |
} |
+void WorkerDebuggerAgent::addConsoleMessage(MessageSource source, MessageLevel level, const String& message, const String& sourceURL) |
+{ |
+ ScriptExecutionContext* context = m_inspectedWorkerContext; |
+ context->addConsoleMessage(source, level, message, sourceURL, 0); |
+} |
+ |
} // namespace WebCore |