| 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 3a7a4ebcb066b9975a1cb93a9eaeb162f9d5ae43..fd4e95621c36db574a55f6fced0124edcb416333 100644
|
| --- a/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/wtf/AssertionsTest.cpp
|
| @@ -36,7 +36,7 @@ TEST(AssertionsTest, Assertions) {
|
| EXPECT_DEATH_IF_SUPPORTED(SECURITY_CHECK(false), "");
|
| };
|
|
|
| -#if !LOG_DISABLED
|
| +#if DCHECK_IS_ON()
|
| static const int kPrinterBufferSize = 256;
|
| static char g_buffer[kPrinterBufferSize];
|
| static StringBuilder g_builder;
|
| @@ -71,6 +71,6 @@ TEST(AssertionsTest, ScopedLogger) {
|
| ")\n",
|
| g_builder.ToString());
|
| };
|
| -#endif // !LOG_DISABLED
|
| +#endif // DCHECK_IS_ON()
|
|
|
| } // namespace WTF
|
|
|