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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.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/paint/PaintLayerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
index b2f480091b6313e4c27a4f8b5e62a73b067037f0..5063ae67f1e8ecc9aa18f669fb220b2f224ed429 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -813,7 +813,7 @@ PaintResult PaintLayerPainter::paintChildren(
if (!m_paintLayer.hasSelfPaintingLayerDescendant())
return result;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
LayerListMutationDetector mutationChecker(m_paintLayer.stackingNode());
#endif

Powered by Google App Engine
This is Rietveld 408576698