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

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

Issue 2833123002: Replace ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/wtf (Closed)
Patch Set: wtf 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/wtf/Deque.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 236fc1c005aa5fd99b1633094f75cf55a7baa566..029e3a5dbe511ef14adad99333b6c32d10c6b241 100644
--- a/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp
+++ b/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp
@@ -14,11 +14,11 @@ TEST(AssertionsTest, Assertions) {
ASSERT(true);
#if DCHECK_IS_ON()
EXPECT_DEATH_IF_SUPPORTED(ASSERT(false), "");
- EXPECT_DEATH_IF_SUPPORTED(ASSERT_NOT_REACHED(), "");
+ EXPECT_DEATH_IF_SUPPORTED(NOTREACHED(), "");
#endif
- RELEASE_ASSERT(true);
- EXPECT_DEATH_IF_SUPPORTED(RELEASE_ASSERT(false), "");
+ CHECK(true);
+ EXPECT_DEATH_IF_SUPPORTED(CHECK(false), "");
SECURITY_DCHECK(true);
#if ENABLE(SECURITY_ASSERT)
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/wtf/Deque.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698