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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 2553653003: Make ifdefs consistent in WebKit/Source/core/layout/ . (Closed)
Patch Set: Update after review. Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 91d053249be82c4e94b058a86550b3398d38dcdf..7f3fb6de837bbca78c9dcf9ae4623cfa74f4330c 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -2796,7 +2796,7 @@ void CompositedLayerMapping::doPaintTask(
roundedIntSize(paintInfo.paintLayer->subpixelAccumulation()));
}
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
if (!layoutObject()->view()->frame() ||
!layoutObject()->view()->frame()->shouldThrottleRendering())
paintInfo.paintLayer->layoutObject()->assertSubtreeIsLaidOut();
« no previous file with comments | « third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698