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

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

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/core/layout/LayoutGrid.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.h b/third_party/WebKit/Source/core/layout/LayoutGrid.h
index d491a58eea490dda7508fbf8a25957f1c3546162..8edfa093a2ab880d3d7c71a300cc884b96b3b805 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
@@ -320,7 +320,7 @@ class LayoutGrid final : public LayoutBlock {
int inlineBlockBaseline(LineDirectionMode) const override;
bool isInlineBaselineAlignedChild(const LayoutBox* child) const;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool tracksAreWiderThanMinTrackBreadth(GridTrackSizingDirection,
GridSizingData&) const;
#endif
@@ -398,7 +398,7 @@ class LayoutGrid final : public LayoutBlock {
void setNeedsItemsPlacement(bool);
bool needsItemsPlacement() const { return m_needsItemsPlacement; };
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool hasAnyGridItemPaintOrder() const;
#endif
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutGrid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698