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

Unified Diff: content/child/service_worker/web_service_worker_registration_impl.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: content/child/service_worker/web_service_worker_registration_impl.h
diff --git a/content/child/service_worker/web_service_worker_registration_impl.h b/content/child/service_worker/web_service_worker_registration_impl.h
index 19229ccada04ed9f49d2350ab3e47da8c3c7b1be..2c8d3c9456d40ab26cf7aa80589ab57a45dd808a 100644
--- a/content/child/service_worker/web_service_worker_registration_impl.h
+++ b/content/child/service_worker/web_service_worker_registration_impl.h
@@ -63,7 +63,7 @@ class CONTENT_EXPORT WebServiceWorkerRegistrationImpl
// Creates WebServiceWorkerRegistrationHandle object that owns a reference to
// the given WebServiceWorkerRegistrationImpl object.
- static blink::WebPassOwnPtr<WebServiceWorkerRegistrationHandle> CreateHandle(
+ static std::unique_ptr<WebServiceWorkerRegistrationHandle> CreateHandle(
const scoped_refptr<WebServiceWorkerRegistrationImpl>& registration);
// Same with CreateHandle(), but returns a raw pointer to the handle w/ its

Powered by Google App Engine
This is Rietveld 408576698