Index: base/metrics/histogram_base.h |
diff --git a/base/metrics/histogram_base.h b/base/metrics/histogram_base.h |
index 006395b1f2939707af6c52b8df935413cdf139b7..bdc052eff2d2b8be16d6dbbac3683f4d062c74db 100644 |
--- a/base/metrics/histogram_base.h |
+++ b/base/metrics/histogram_base.h |
@@ -92,7 +92,7 @@ class BASE_EXPORT HistogramBase { |
explicit HistogramBase(const std::string& name); |
virtual ~HistogramBase(); |
- std::string histogram_name() const { return histogram_name_; } |
+ const std::string& histogram_name() const { return histogram_name_; } |
// Comapres |name| to the histogram name and triggers a DCHECK if they do not |
// match. This is a helper function used by histogram macros, which results in |