Index: third_party/WebKit/Source/platform/Histogram.cpp |
diff --git a/third_party/WebKit/Source/platform/Histogram.cpp b/third_party/WebKit/Source/platform/Histogram.cpp |
index cb8711624df40e6ff602f1d2eb34629530ac3fba..48997ee50917e82786bd1fd86eb50eb5f38c042f 100644 |
--- a/third_party/WebKit/Source/platform/Histogram.cpp |
+++ b/third_party/WebKit/Source/platform/Histogram.cpp |
@@ -49,4 +49,15 @@ void SparseHistogram::Sample(base::HistogramBase::Sample sample) { |
histogram_->Add(sample); |
} |
+LinearHistogram::LinearHistogram(const char* name, |
+ base::HistogramBase::Sample min, |
+ base::HistogramBase::Sample max, |
+ int32_t bucket_count) |
+ : CustomCountHistogram(base::LinearHistogram::FactoryGet( |
+ name, |
+ min, |
+ max, |
+ bucket_count, |
+ base::HistogramBase::kUmaTargetedHistogramFlag)) {} |
+ |
} // namespace blink |