| Index: third_party/WebKit/Source/core/frame/FrameConsole.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameConsole.cpp b/third_party/WebKit/Source/core/frame/FrameConsole.cpp
|
| index 2faacc352bd3ec2283b3e3c5500108362b3baeeb..ab36bd33119b6b04e132d5e7ff551ec303ff317e 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameConsole.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameConsole.cpp
|
| @@ -38,6 +38,7 @@
|
| #include "platform/network/ResourceError.h"
|
| #include "platform/network/ResourceResponse.h"
|
| #include "wtf/text/StringBuilder.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -81,7 +82,7 @@ void FrameConsole::reportMessageToClient(ConsoleMessage* consoleMessage)
|
| if (!frame().host())
|
| return;
|
| if (frame().chromeClient().shouldReportDetailedMessageForSource(frame(), url)) {
|
| - OwnPtr<SourceLocation> location = SourceLocation::captureWithFullStackTrace();
|
| + std::unique_ptr<SourceLocation> location = SourceLocation::captureWithFullStackTrace();
|
| if (!location->isUnknown())
|
| stackTrace = location->toString();
|
| }
|
|
|