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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerReportingProxy.h

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/workers/WorkerReportingProxy.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
index ea14f9233ef390a65e86aa706ad9e86c32849ae5..7e9d343edacc34e1cb527c5cdff7fa78e1ecb631 100644
--- a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
+++ b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
@@ -34,7 +34,7 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
-#include "wtf/PassOwnPtr.h"
+#include <memory>
namespace blink {
@@ -47,7 +47,7 @@ class CORE_EXPORT WorkerReportingProxy {
public:
virtual ~WorkerReportingProxy() { }
- virtual void reportException(const String& errorMessage, PassOwnPtr<SourceLocation>) = 0;
+ virtual void reportException(const String& errorMessage, std::unique_ptr<SourceLocation>) = 0;
virtual void reportConsoleMessage(ConsoleMessage*) = 0;
virtual void postMessageToPageInspector(const String&) = 0;
virtual void postWorkerConsoleAgentEnabled() = 0;

Powered by Google App Engine
This is Rietveld 408576698