| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index ab118c8b8185fd092daeaab6e5f698bcc159b71b..19ccc03bef17bf55a28b677d90fadb5af4aa288e 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -156,6 +156,7 @@
|
| #include "core/inspector/InspectorCounters.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/inspector/InspectorTraceEvents.h"
|
| +#include "core/inspector/ScriptArguments.h"
|
| #include "core/inspector/ScriptCallStack.h"
|
| #include "core/loader/CookieJar.h"
|
| #include "core/loader/DocumentLoader.h"
|
| @@ -2774,11 +2775,12 @@ EventTarget* Document::errorEventTarget()
|
| return domWindow();
|
| }
|
|
|
| -void Document::logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack)
|
| +void Document::logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack, PassRefPtrWillBeRawPtr<ScriptArguments> arguments)
|
| {
|
| RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber);
|
| consoleMessage->setScriptId(scriptId);
|
| consoleMessage->setCallStack(callStack);
|
| + consoleMessage->setScriptArguments(arguments);
|
| addConsoleMessage(consoleMessage.release());
|
| }
|
|
|
|
|