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

Unified Diff: third_party/WebKit/Source/wtf/SizeLimits.cpp

Issue 2585673002: Replace ASSERT, ENABLE(ASSERT), and ASSERT_NOT_REACHED in wtf (Closed)
Patch Set: Fix an Asan issue with LinkedHashSetNodeBase::unlink Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/wtf/RefCounted.h ('k') | third_party/WebKit/Source/wtf/StdLibExtras.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/SizeLimits.cpp
diff --git a/third_party/WebKit/Source/wtf/SizeLimits.cpp b/third_party/WebKit/Source/wtf/SizeLimits.cpp
index 821a2cab24d7ef3485067d1d9a42d280d70b9889..6999a30f4752885b0c4c08be05e00cc222c2a1c2 100644
--- a/third_party/WebKit/Source/wtf/SizeLimits.cpp
+++ b/third_party/WebKit/Source/wtf/SizeLimits.cpp
@@ -41,14 +41,14 @@
namespace WTF {
-#if ENABLE(ASSERT) || ENABLE(SECURITY_ASSERT)
+#if DCHECK_IS_ON() || ENABLE(SECURITY_ASSERT)
// The debug/assertion version may get bigger.
struct SameSizeAsRefCounted {
int a;
#if ENABLE(SECURITY_ASSERT)
bool b;
#endif
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool c;
ThreadRestrictionVerifier d;
#endif
« no previous file with comments | « third_party/WebKit/Source/wtf/RefCounted.h ('k') | third_party/WebKit/Source/wtf/StdLibExtras.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698