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

Unified Diff: third_party/WebKit/Source/core/layout/line/LineBoxList.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/line/LineBoxList.h
diff --git a/third_party/WebKit/Source/core/layout/line/LineBoxList.h b/third_party/WebKit/Source/core/layout/line/LineBoxList.h
index 788bb5cf4379eb068a5c8aad0d3b532aa451039c..4ab8259f2581a429168adffd6716a42c0ad9863d 100644
--- a/third_party/WebKit/Source/core/layout/line/LineBoxList.h
+++ b/third_party/WebKit/Source/core/layout/line/LineBoxList.h
@@ -50,7 +50,7 @@ class LineBoxList {
public:
LineBoxList() : m_firstLineBox(nullptr), m_lastLineBox(nullptr) {}
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
~LineBoxList();
#endif
@@ -100,7 +100,7 @@ class LineBoxList {
InlineFlowBox* m_lastLineBox;
};
-#if !ENABLE(ASSERT)
+#if !DCHECK_IS_ON()
inline void LineBoxList::checkConsistency() const {}
#endif

Powered by Google App Engine
This is Rietveld 408576698