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

Unified Diff: components/rappor/sampler.h

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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: components/rappor/sampler.h
diff --git a/components/rappor/sampler.h b/components/rappor/sampler.h
index c2b13e105b0936762b7034a62309a5a90855c5ae..dac87416be5e4570cd100f96a61e43dfc43e5082 100644
--- a/components/rappor/sampler.h
+++ b/components/rappor/sampler.h
@@ -41,7 +41,7 @@ class Sampler {
std::map<std::string, int> sample_counts_;
// Stores a Sample for each metric, by metric name.
- base::ScopedPtrHashMap<std::string, Sample> samples_;
+ base::ScopedPtrHashMap<std::string, scoped_ptr<Sample>> samples_;
DISALLOW_COPY_AND_ASSIGN(Sampler);
};

Powered by Google App Engine
This is Rietveld 408576698