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

Unified Diff: content/browser/service_worker/service_worker_version.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years 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/browser/service_worker/service_worker_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index 314f18d94b44f47c1c11fe74be1ad14307a9a3f2..82d661e12f8d9158a34ccf1ff71e4f7e3f9378cf 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -745,7 +745,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
// Holds in-flight requests, including requests due to outstanding push,
// fetch, sync, etc. events.
- IDMap<PendingRequest, IDMapOwnPointer> pending_requests_;
+ IDMap<std::unique_ptr<PendingRequest>> pending_requests_;
// Container for pending external requests for this service worker.
// (key, value): (request uuid, request id).

Powered by Google App Engine
This is Rietveld 408576698