Index: base/message_loop/incoming_task_queue.cc |
diff --git a/base/message_loop/incoming_task_queue.cc b/base/message_loop/incoming_task_queue.cc |
index 67796ffa377f886e10bf7ff135bf539002101872..68cc8f1a483dfa3de17dc59a001d790c0220026a 100644 |
--- a/base/message_loop/incoming_task_queue.cc |
+++ b/base/message_loop/incoming_task_queue.cc |
@@ -18,12 +18,12 @@ namespace internal { |
namespace { |
-#if DCHECK_IS_ON() |
+#if DCHECK_IS_ON() || DVLOG_IS_ON() |
// Delays larger than this are often bogus, and a warning should be emitted in |
// debug builds to warn developers. http://crbug.com/450045 |
const int kTaskDelayWarningThresholdInSeconds = |
14 * 24 * 60 * 60; // 14 days. |
-#endif |
+#endif // DCHECK_IS_ON() || DVLOG_IS_ON() |
// Returns true if MessagePump::ScheduleWork() must be called one |
// time for every task that is added to the MessageLoop incoming queue. |