| Index: chromecast/base/metrics/cast_histograms.h
|
| diff --git a/chromecast/base/metrics/cast_histograms.h b/chromecast/base/metrics/cast_histograms.h
|
| index 4907c1a84ef69985a2890642769a140d0d8bc2ea..e0e6c7283e277410769bf576215cb39d22a195c8 100644
|
| --- a/chromecast/base/metrics/cast_histograms.h
|
| +++ b/chromecast/base/metrics/cast_histograms.h
|
| @@ -12,15 +12,14 @@
|
| // through base::subtle::Release_Store() and base::subtle::Acquire_Load().
|
| // If the histogram name changes between subsequent calls, use this non-cached
|
| // version that always calls histogram_factory_get_invocation.
|
| -#define STATIC_HISTOGRAM_POINTER_BLOCK_NO_CACHE( \
|
| - constant_histogram_name, \
|
| - histogram_add_method_invocation, \
|
| - histogram_factory_get_invocation) \
|
| - do { \
|
| +#define STATIC_HISTOGRAM_POINTER_BLOCK_NO_CACHE( \
|
| + constant_histogram_name, histogram_add_method_invocation, \
|
| + histogram_factory_get_invocation) \
|
| + do { \
|
| base::HistogramBase* histogram_pointer = histogram_factory_get_invocation; \
|
| - if (DCHECK_IS_ON) \
|
| - histogram_pointer->CheckName(constant_histogram_name); \
|
| - histogram_pointer->histogram_add_method_invocation; \
|
| + if (!DCHECK_IS_OFF) \
|
| + histogram_pointer->CheckName(constant_histogram_name); \
|
| + histogram_pointer->histogram_add_method_invocation; \
|
| } while (0)
|
|
|
| #define UMA_HISTOGRAM_CUSTOM_TIMES_NO_CACHE( \
|
|
|