Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
index d66fa611ff6a9e9096d40bf90eeb7ea119be9624..1ae96853d586b3982a9b42c7eb8a4e15ffe419b1 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp |
@@ -996,6 +996,7 @@ void ContentSecurityPolicy::logToConsole(const String& message, MessageLevel lev |
void ContentSecurityPolicy::logToConsole(ConsoleMessage* consoleMessage, LocalFrame* frame) |
{ |
+ consoleMessage->collectCallStack(); |
if (frame) |
frame->document()->addConsoleMessage(consoleMessage); |
else if (m_executionContext) |