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

Unified Diff: third_party/WebKit/Source/core/layout/FloatingObjects.h

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/FloatingObjects.h
diff --git a/third_party/WebKit/Source/core/layout/FloatingObjects.h b/third_party/WebKit/Source/core/layout/FloatingObjects.h
index 7b213eecf0039ef597c596291df51b43b5bad386..c838dd19e00db9d05a3f3f5ca22b5987e01282fd 100644
--- a/third_party/WebKit/Source/core/layout/FloatingObjects.h
+++ b/third_party/WebKit/Source/core/layout/FloatingObjects.h
@@ -108,7 +108,7 @@ class FloatingObject {
return m_frameRect;
}
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool isInPlacedTree() const { return m_isInPlacedTree; }
void setIsInPlacedTree(bool value) { m_isInPlacedTree = value; }
#endif
@@ -150,7 +150,7 @@ class FloatingObject {
unsigned m_isDescendant : 1;
unsigned m_isPlaced : 1;
unsigned m_isLowestNonOverhangingFloatInChild : 1;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
unsigned m_isInPlacedTree : 1;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698