Chromium Code Reviews| Index: base/metrics/histogram.h |
| =================================================================== |
| --- base/metrics/histogram.h (revision 251312) |
| +++ base/metrics/histogram.h (working copy) |
| @@ -155,8 +155,8 @@ |
| base::subtle::Release_Store(&atomic_histogram_pointer, \ |
| reinterpret_cast<base::subtle::AtomicWord>(histogram_pointer)); \ |
| } \ |
| - DCHECK_EQ(histogram_pointer->histogram_name(), \ |
| - std::string(constant_histogram_name)); \ |
| + if (DCHECK_IS_ON()) \ |
|
jar (doing other things)
2014/02/15 00:50:42
Am I correct, that this is an effort to reduce the
|
| + histogram_pointer->CheckName(constant_histogram_name); \ |
| histogram_pointer->histogram_add_method_invocation; \ |
| } while (0) |