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

Unified Diff: base/metrics/statistics_recorder_unittest.cc

Issue 2973863002: Remove std::string histogram name from HistogramBase object.
Patch Set: never rely on outside string permanence Created 3 years, 5 months 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/statistics_recorder_unittest.cc
diff --git a/base/metrics/statistics_recorder_unittest.cc b/base/metrics/statistics_recorder_unittest.cc
index c581f15bc59038de3a32e97e63869482fa8851f4..fb4d95bd97c698a85430d7b884cb600ffffc1b31 100644
--- a/base/metrics/statistics_recorder_unittest.cc
+++ b/base/metrics/statistics_recorder_unittest.cc
@@ -77,7 +77,7 @@ class StatisticsRecorderTest : public testing::TestWithParam<bool> {
StatisticsRecorder::UninitializeForTesting();
}
- Histogram* CreateHistogram(const std::string& name,
+ Histogram* CreateHistogram(const char* name,
HistogramBase::Sample min,
HistogramBase::Sample max,
size_t bucket_count) {

Powered by Google App Engine
This is Rietveld 408576698