| Index: third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| index 2a86da71d221ddebc047a2fb71340e0eb8a77c9a..df0dd0e2ee69d548c0df78e13e8254dfcb2e4d53 100644
|
| --- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| @@ -218,7 +218,7 @@ void DOMWindow::postMessage(PassRefPtr<SerializedScriptValue> message, const Mes
|
| bool didHandleMessageEvent = frame()->client()->willCheckAndDispatchMessageEvent(target.get(), event.get(), source->document()->frame());
|
| if (!didHandleMessageEvent) {
|
| // Capture stack trace only when inspector front-end is loaded as it may be time consuming.
|
| - RefPtrWillBeRawPtr<ScriptCallStack> stackTrace = nullptr;
|
| + RefPtr<ScriptCallStack> stackTrace;
|
| if (InspectorInstrumentation::consoleAgentEnabled(sourceDocument))
|
| stackTrace = currentScriptCallStack(ScriptCallStack::maxCallStackSizeToCapture);
|
|
|
|
|