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 |