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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.cpp

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: 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/core/layout/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index 9228cfbf1a7b20f57f1b5203b3c86b28b4c71825..2f64fed79d0b28d9bf7b330a33f88f8a1ba27db3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -2116,7 +2116,7 @@ bool LayoutBlock::tryLayoutDoingPositionedMovementOnly() {
return true;
}
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
void LayoutBlock::checkPositionedObjectsNeedLayout() {
if (!gPositionedDescendantsMap)
return;

Powered by Google App Engine
This is Rietveld 408576698