| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index ce4b58fa5cf65bf0cd8fcaa93d51a5691fedf19b..d05208291852f41a02e3081fd031a792f4414909 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -33,8 +33,8 @@
|
| #include "bindings/core/v8/ExceptionStatePlaceholder.h"
|
| #include "bindings/core/v8/HTMLScriptElementOrSVGScriptElement.h"
|
| #include "bindings/core/v8/Microtask.h"
|
| -#include "bindings/core/v8/ScriptCallStack.h"
|
| #include "bindings/core/v8/ScriptController.h"
|
| +#include "bindings/core/v8/SourceLocation.h"
|
| #include "bindings/core/v8/V0CustomElementConstructorBuilder.h"
|
| #include "bindings/core/v8/V8DOMWrapper.h"
|
| #include "bindings/core/v8/V8PerIsolateData.h"
|
| @@ -2922,9 +2922,9 @@ EventTarget* Document::errorEventTarget()
|
| return domWindow();
|
| }
|
|
|
| -void Document::logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack> callStack)
|
| +void Document::logExceptionToConsole(const String& errorMessage, PassOwnPtr<SourceLocation> location)
|
| {
|
| - ConsoleMessage* consoleMessage = ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber, columnNumber, callStack, scriptId);
|
| + ConsoleMessage* consoleMessage = ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, std::move(location));
|
| addConsoleMessage(consoleMessage);
|
| }
|
|
|
|
|