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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.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/Source/modules/serviceworkers/ServiceWorkerRegistration.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
index 196eace9e691354ff5ea953d06984001d8ff2b29..a9f546c5b555c7a920decd083d601b34ab8f7a90 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
@@ -44,9 +44,9 @@ public:
// WebServiceWorkerRegistrationProxy overrides.
void dispatchUpdateFoundEvent() override;
- void setInstalling(WebPassOwnPtr<WebServiceWorker::Handle>) override;
- void setWaiting(WebPassOwnPtr<WebServiceWorker::Handle>) override;
- void setActive(WebPassOwnPtr<WebServiceWorker::Handle>) override;
+ void setInstalling(std::unique_ptr<WebServiceWorker::Handle>) override;
+ void setWaiting(std::unique_ptr<WebServiceWorker::Handle>) override;
+ void setActive(std::unique_ptr<WebServiceWorker::Handle>) override;
// Returns an existing registration object for the handle if it exists.
// Otherwise, returns a new registration object.

Powered by Google App Engine
This is Rietveld 408576698