| Index: base/metrics/histogram.cc
|
| diff --git a/base/metrics/histogram.cc b/base/metrics/histogram.cc
|
| index ea4f8167fa28cc7098ce233cddbd7ed77fd23a77..d5ff7cc522fb6b138bf09afe4b36b90784c69d51 100644
|
| --- a/base/metrics/histogram.cc
|
| +++ b/base/metrics/histogram.cc
|
| @@ -211,9 +211,15 @@ HistogramBase* Histogram::Factory::Build() {
|
| FinalizePersistentHistogram(histogram_ref,
|
| histogram == tentative_histogram);
|
| }
|
| +
|
| + // Update report on created histograms.
|
| + UpdateReportHistogram(histogram, true);
|
| + } else {
|
| + // Update report on lookup histograms.
|
| + UpdateReportHistogram(histogram, false);
|
| }
|
|
|
| - DCHECK_EQ(histogram_type_, histogram->GetHistogramType());
|
| + DCHECK_EQ(histogram_type_, histogram->GetHistogramType()) << name_;
|
| if (bucket_count_ != 0 &&
|
| !histogram->HasConstructionArguments(minimum_, maximum_, bucket_count_)) {
|
| // The construction arguments do not match the existing histogram. This can
|
|
|