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

Unified Diff: base/tracked_objects.h

Issue 842523002: base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheck2: withoutandroidchange Created 5 years, 11 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/tracked_objects.h
diff --git a/base/tracked_objects.h b/base/tracked_objects.h
index eb38df6b8d675d372bb9bce4803d99fed825e856..5196f192bb1ec90cf15018c2655bd420460cf822 100644
--- a/base/tracked_objects.h
+++ b/base/tracked_objects.h
@@ -749,7 +749,7 @@ class BASE_EXPORT TaskStopwatch {
// duration of this stopwatch.
TaskStopwatch* parent_;
-#if DCHECK_IS_ON
+#if DCHECK_IS_ON()
// State of the stopwatch. Stopwatch is first constructed in a created state
// state, then is optionally started/stopped, then destructed.
enum { CREATED, RUNNING, STOPPED } state_;

Powered by Google App Engine
This is Rietveld 408576698