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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/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 { }

Powered by Google App Engine
This is Rietveld 408576698