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

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

Issue 2919653004: Use LOG() or LOG_IF() instead of IMMEDIATE_CRASH (Closed)
Patch Set: Use LOG() or LOG_IF() instead of IMMEDIATE_CRASH Created 3 years, 7 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 abaa2a7521bc8c3c2e0403146e8dd1dfbf2d7f67..b671be6fc2bdbf82c845edd9146b06908d05a676 100644
--- a/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp
+++ b/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp
@@ -28,8 +28,8 @@ TEST(AssertionsTest, Assertions) {
SECURITY_CHECK(true);
EXPECT_DEATH_IF_SUPPORTED(SECURITY_CHECK(false), "");
- EXPECT_DEATH_IF_SUPPORTED(IMMEDIATE_CRASH(), "");
- EXPECT_DEATH_IF_SUPPORTED(IMMEDIATE_CRASH(), "");
+ EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL), "");
tkent 2017/06/02 00:26:49 LOG() is defined by base/logging.*, Blink doesn't
gyuyoung 2017/06/02 14:45:46 Done.
+ EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL), "");
};
#if !LOG_DISABLED
« no previous file with comments | « third_party/WebKit/Source/platform/mac/BlockExceptions.mm ('k') | third_party/WebKit/Source/platform/wtf/ThreadSpecific.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698