| Index: base/metrics/persistent_histogram_allocator.cc
|
| diff --git a/base/metrics/persistent_histogram_allocator.cc b/base/metrics/persistent_histogram_allocator.cc
|
| index 1d5c0ef0e1c5d90175f8456469b67502f34e1d28..d37ceac5a4b92ec293b3d3537f1365811f1b5558 100644
|
| --- a/base/metrics/persistent_histogram_allocator.cc
|
| +++ b/base/metrics/persistent_histogram_allocator.cc
|
| @@ -160,9 +160,14 @@ PersistentHistogramAllocator::GetCreateHistogramResultHistogram() {
|
| if (!initialized) {
|
| initialized = true;
|
| if (g_allocator) {
|
| +// Don't log in release-with-asserts builds, otherwise the test_installer step
|
| +// fails because this code writes to a log file before the installer code had a
|
| +// chance to set the log file's location.
|
| +#if !defined(DCHECK_ALWAYS_ON)
|
| DLOG(WARNING) << "Creating the results-histogram inside persistent"
|
| << " memory can cause future allocations to crash if"
|
| << " that memory is ever released (for testing).";
|
| +#endif
|
| }
|
|
|
| histogram_pointer = LinearHistogram::FactoryGet(
|
|
|