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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItemClientTest.cpp

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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/graphics/paint/DisplayItemClientTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClientTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClientTest.cpp
index 462e5a297ca2b2e5c4f6bd3191c64ac461f76079..59189e4d2abf511d0f082604fb71589879e57287 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClientTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClientTest.cpp
@@ -10,7 +10,7 @@
namespace blink {
namespace {
-#if ENABLE(ASSERT) && !defined(UNDEFINED_SANITIZER)
+#if DCHECK_IS_ON() && !defined(UNDEFINED_SANITIZER)
TEST(DisplayItemClientTest, IsAlive) {
EXPECT_FALSE(reinterpret_cast<DisplayItemClient*>(0x12345678)->isAlive());
@@ -20,7 +20,7 @@ TEST(DisplayItemClientTest, IsAlive) {
EXPECT_FALSE(testClient->isAlive());
}
-#endif // ENABLE(ASSERT)
+#endif
} // namespace
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Path.cpp ('k') | third_party/WebKit/Source/platform/heap/CallbackStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698