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

Unified Diff: base/metrics/sample_map.cc

Issue 11682003: Serialize/Deserialize support in HistogramBase (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: base/metrics/sample_map.cc
diff --git a/base/metrics/sample_map.cc b/base/metrics/sample_map.cc
index 9bd78e738e3f4b8506ffbe20ffa44f5ffa907583..42468cb57f31816fa6a5fbd0c2c5e734a86c6773 100644
--- a/base/metrics/sample_map.cc
+++ b/base/metrics/sample_map.cc
@@ -44,11 +44,6 @@ scoped_ptr<SampleCountIterator> SampleMap::Iterator() const {
return scoped_ptr<SampleCountIterator>(new SampleMapIterator(sample_counts_));
}
-void SampleMap::ResetRedundantCount(Count count) {
- IncreaseRedundantCount(-redundant_count());
- IncreaseRedundantCount(count);
-}
-
bool SampleMap::AddSubtractImpl(SampleCountIterator* iter,
HistogramSamples::Operator op) {
Sample min;

Powered by Google App Engine
This is Rietveld 408576698