Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h |
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h |
index 70c9a54794cda5ff892b7379a651329bce90178f..bddf8ab959bda0fd893bd39a22beaca335608c66 100644 |
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h |
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h |
@@ -37,7 +37,7 @@ |
#include "public/platform/WebString.h" |
#include "public/web/modules/serviceworker/WebServiceWorkerContextProxy.h" |
#include "wtf/Forward.h" |
-#include <memory> |
+#include "wtf/OwnPtr.h" |
namespace blink { |
@@ -84,7 +84,7 @@ public: |
bool hasFetchEventHandler() override; |
// WorkerReportingProxy overrides: |
- void reportException(const String& errorMessage, std::unique_ptr<SourceLocation>) override; |
+ void reportException(const String& errorMessage, PassOwnPtr<SourceLocation>) override; |
void reportConsoleMessage(ConsoleMessage*) override; |
void postMessageToPageInspector(const String&) override; |
void postWorkerConsoleAgentEnabled() override { } |