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..941242e6aa3426548b982f9153d48f42f8f428d8 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, \ |
lcwu1
2015/01/07 18:49:56
Any reason why you want to re-format the code here
Nico
2015/01/07 19:02:50
The old formatting makes sense if you have to form
danakj
2015/01/07 19:31:53
Right, clang-format did this.
|
+ 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_ON()) \ |
+ histogram_pointer->CheckName(constant_histogram_name); \ |
+ histogram_pointer->histogram_add_method_invocation; \ |
} while (0) |
#define UMA_HISTOGRAM_CUSTOM_TIMES_NO_CACHE( \ |