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

Unified Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistrationProxy.h

Issue 1865913005: Nuke WebPassOwnPtr<T> and replace it with std::unique_ptr<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/public/platform/modules/serviceworker/WebServiceWorkerRegistrationProxy.h
diff --git a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistrationProxy.h b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistrationProxy.h
index 77649deb85f66ca9400038360a3a76893f470942..e4d881598514929d77e7231031bf8cf2f0b1c99e 100644
--- a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistrationProxy.h
+++ b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistrationProxy.h
@@ -5,7 +5,7 @@
#ifndef WebServiceWorkerRegistrationProxy_h
#define WebServiceWorkerRegistrationProxy_h
-#include "public/platform/WebPassOwnPtr.h"
+#include <memory>
namespace blink {
@@ -21,9 +21,9 @@ public:
// WebServiceWorkerRegistration.installing.
virtual void dispatchUpdateFoundEvent() = 0;
- virtual void setInstalling(WebPassOwnPtr<WebServiceWorker::Handle>) = 0;
- virtual void setWaiting(WebPassOwnPtr<WebServiceWorker::Handle>) = 0;
- virtual void setActive(WebPassOwnPtr<WebServiceWorker::Handle>) = 0;
+ virtual void setInstalling(std::unique_ptr<WebServiceWorker::Handle>) = 0;
+ virtual void setWaiting(std::unique_ptr<WebServiceWorker::Handle>) = 0;
+ virtual void setActive(std::unique_ptr<WebServiceWorker::Handle>) = 0;
protected:
virtual ~WebServiceWorkerRegistrationProxy() { }

Powered by Google App Engine
This is Rietveld 408576698