Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h |
index 42dcd89ecd0624550520beac4ae2b552c534e1cd..50d8d7cc8711e01a645b7ef73c384f6c8b53077e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h |
@@ -11,7 +11,9 @@ |
#include "wtf/Assertions.h" |
#include "wtf/text/WTFString.h" |
-#define CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS DCHECK_IS_ON() |
+#if !defined(NDEBUG) || DCHECK_IS_ON() |
+#define CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS 1 |
+#endif |
namespace blink { |