Chromium Code Reviews| Index: content/common/child_histogram_message_filter.cc | 
| =================================================================== | 
| --- content/common/child_histogram_message_filter.cc (revision 155400) | 
| +++ content/common/child_histogram_message_filter.cc (working copy) | 
| @@ -71,10 +71,8 @@ | 
| void ChildHistogramMessageFilter::RecordDelta( | 
| const base::Histogram& histogram, | 
| - const base::Histogram::SampleSet& snapshot) { | 
| + const base::HistogramSamples& snapshot) { | 
| DCHECK_NE(0, snapshot.TotalCount()); | 
| - DCHECK_EQ(histogram.bucket_count(), snapshot.size()); | 
| 
 
Ilya Sherman
2012/09/12 03:20:58
Can this DCHECK be preserved?
 
kaiwang
2012/09/20 22:54:59
it's enforced by SampleVector logic, which is crea
 
 | 
| - | 
| std::string histogram_info = | 
| base::Histogram::SerializeHistogramInfo(histogram, snapshot); |