Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1012)

Unified Diff: third_party/WebKit/Source/core/frame/FrameConsole.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameConsole.h ('k') | third_party/WebKit/Source/core/frame/FrameHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698