Index: Source/core/inspector/PageDebuggerAgent.cpp |
diff --git a/Source/core/inspector/PageDebuggerAgent.cpp b/Source/core/inspector/PageDebuggerAgent.cpp |
index aa9c4fdadb53d6c2c3d2603dadb7fe8b68bec748..b57cb5d93a9631a9f27375ce7176c20b8e27f446 100644 |
--- a/Source/core/inspector/PageDebuggerAgent.cpp |
+++ b/Source/core/inspector/PageDebuggerAgent.cpp |
@@ -93,6 +93,11 @@ void PageDebuggerAgent::unmuteConsole() |
PageConsole::unmute(); |
} |
+void PageDebuggerAgent::addConsoleMessage(MessageSource source, MessageLevel level, const String& message, const String& sourceURL) |
+{ |
+ m_pageAgent->page()->console()->addMessage(source, level, message, sourceURL, 0); |
+} |
+ |
InjectedScript PageDebuggerAgent::injectedScriptForEval(ErrorString* errorString, const int* executionContextId) |
{ |
if (!executionContextId) { |