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

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

Issue 2968713002: Remove all uses of LOG_DISABLED in blink (Closed)
Patch Set: Created 3 years, 6 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 | « third_party/WebKit/Source/platform/wtf/Assertions.cpp ('k') | no next file » | 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 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
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/Assertions.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698