Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
index 3207d37fc3cc9b9bed426b6ce35fb8f4c5cc7c4d..7c3e78c269685851819ae4adfb9e0d8eb28bede5 100644 |
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -30,6 +30,7 @@ |
#include "web/WebEmbeddedWorkerImpl.h" |
+#include "bindings/core/v8/SourceLocation.h" |
#include "core/dom/CrossThreadTask.h" |
#include "core/dom/Document.h" |
#include "core/dom/SecurityContext.h" |
@@ -242,7 +243,7 @@ void WebEmbeddedWorkerImpl::addMessageToConsole(const WebConsoleMessage& message |
return; |
} |
- m_mainFrame->frame()->document()->addConsoleMessage(ConsoleMessage::create(OtherMessageSource, webCoreMessageLevel, message.text, message.url, message.lineNumber, message.columnNumber)); |
+ m_mainFrame->frame()->document()->addConsoleMessage(ConsoleMessage::create(OtherMessageSource, webCoreMessageLevel, message.text, SourceLocation::create(message.url, message.lineNumber, message.columnNumber, nullptr))); |
} |
void WebEmbeddedWorkerImpl::postMessageToPageInspector(const String& message) |