Index: content/browser/service_worker/service_worker_dispatcher_host.h |
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h |
index 260a07d19a9d7c4abe2db5ec2b4c2ada9b50af7a..08c5698c48f1bccae2d712c24663c58f4fc37f75 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.h |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h |
@@ -275,10 +275,10 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost |
ResourceContext* resource_context_; |
scoped_refptr<ServiceWorkerContextWrapper> context_wrapper_; |
- IDMap<ServiceWorkerHandle, IDMapOwnPointer> handles_; |
+ IDMap<std::unique_ptr<ServiceWorkerHandle>> handles_; |
using RegistrationHandleMap = |
- IDMap<ServiceWorkerRegistrationHandle, IDMapOwnPointer>; |
+ IDMap<std::unique_ptr<ServiceWorkerRegistrationHandle>>; |
RegistrationHandleMap registration_handles_; |
bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. |