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 7e9d343edacc34e1cb527c5cdff7fa78e1ecb631..ea14f9233ef390a65e86aa706ad9e86c32849ae5 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 <memory> |
+#include "wtf/PassOwnPtr.h" |
namespace blink { |
@@ -47,7 +47,7 @@ class CORE_EXPORT WorkerReportingProxy { |
public: |
virtual ~WorkerReportingProxy() { } |
- virtual void reportException(const String& errorMessage, std::unique_ptr<SourceLocation>) = 0; |
+ virtual void reportException(const String& errorMessage, PassOwnPtr<SourceLocation>) = 0; |
virtual void reportConsoleMessage(ConsoleMessage*) = 0; |
virtual void postMessageToPageInspector(const String&) = 0; |
virtual void postWorkerConsoleAgentEnabled() = 0; |