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

Unified Diff: chrome/browser/metrics/subprocess_metrics_provider.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: Rebase 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: chrome/browser/metrics/subprocess_metrics_provider.h
diff --git a/chrome/browser/metrics/subprocess_metrics_provider.h b/chrome/browser/metrics/subprocess_metrics_provider.h
index 5ca370d3dafca0e5aa1a575384803b8e2a51fc3b..2bb5bf5b7498e5c978499b918d94ebc9ec10db82 100644
--- a/chrome/browser/metrics/subprocess_metrics_provider.h
+++ b/chrome/browser/metrics/subprocess_metrics_provider.h
@@ -98,7 +98,7 @@ class SubprocessMetricsProvider : public metrics::MetricsProvider,
// All of the shared-persistent-allocators for known sub-processes.
using AllocatorByIdMap =
- IDMap<base::PersistentHistogramAllocator, IDMapOwnPointer, int>;
+ IDMap<std::unique_ptr<base::PersistentHistogramAllocator>, int>;
AllocatorByIdMap allocators_by_id_;
// Track all observed render processes to un-observe them on exit.

Powered by Google App Engine
This is Rietveld 408576698