Index: third_party/WebKit/Source/wtf/AssertionsTest.cpp |
diff --git a/third_party/WebKit/Source/wtf/AssertionsTest.cpp b/third_party/WebKit/Source/wtf/AssertionsTest.cpp |
index 08a38c4b9c1801b1545bf469e394c245124146bb..bb4a3ee7d2237fdd73f5a942fe53594ad932b0fb 100644 |
--- a/third_party/WebKit/Source/wtf/AssertionsTest.cpp |
+++ b/third_party/WebKit/Source/wtf/AssertionsTest.cpp |
@@ -12,7 +12,7 @@ namespace WTF { |
TEST(AssertionsTest, Assertions) { |
ASSERT(true); |
-#if DCHECK_IS_ON() |
+#if DCHECK_IS_ON() && !defined(DCHECK_IS_DUMP_WITHOUT_CRASH) |
EXPECT_DEATH_IF_SUPPORTED(ASSERT(false), ""); |
EXPECT_DEATH_IF_SUPPORTED(ASSERT_NOT_REACHED(), ""); |
EXPECT_DEATH_IF_SUPPORTED(DCHECK_AT(false, __FILE__, __LINE__), ""); |