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

Unified Diff: third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase Created 3 years, 8 months 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/platform/wtf/AssertionsTest.cpp
diff --git a/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp b/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp
index 029e3a5dbe511ef14adad99333b6c32d10c6b241..ee6a2e1297454c81c9e81fef800163b83bdf345d 100644
--- a/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp
+++ b/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp
@@ -11,7 +11,7 @@
namespace WTF {
TEST(AssertionsTest, Assertions) {
- ASSERT(true);
+ DCHECK(true);
#if DCHECK_IS_ON()
EXPECT_DEATH_IF_SUPPORTED(ASSERT(false), "");
EXPECT_DEATH_IF_SUPPORTED(NOTREACHED(), "");
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp ('k') | third_party/WebKit/Source/platform/wtf/dtoa/bignum.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698