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