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

Unified Diff: third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h

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
Index: third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h
diff --git a/third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h b/third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h
index f4dea380fddb09edfd99c7e2616602d75b68b73f..15ea5fafba9463d71afe901b07985b18805b4909 100644
--- a/third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h
+++ b/third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h
@@ -33,7 +33,7 @@
#include "wtf/Assertions.h"
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
#include "wtf/Threading.h"
@@ -109,5 +109,5 @@ class ThreadRestrictionVerifier {
} // namespace WTF
-#endif // ENABLE(ASSERT)
+#endif // DCHECK_IS_ON()
#endif // ThreadRestrictionVerifier_h
« no previous file with comments | « third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h ('k') | third_party/WebKit/Source/wtf/ThreadSpecific.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698