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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.cpp

Issue 327323002: Start removing the double-negative !ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/rendering/compositing/GraphicsLayerUpdater.cpp ('k') | Source/core/svg/SVGDocumentExtensions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
index d4fab7723c1051b906d53c92c08299e1c91fdc01..9314ba93e544b1ddd821269b5b246337148d873b 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
@@ -339,7 +339,7 @@ void RenderLayerCompositor::updateIfNeeded()
if (updater.needsRebuildTree())
updateType = std::max(updateType, CompositingUpdateRebuildTree);
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
// FIXME: Move this check to the end of the compositing update.
GraphicsLayerUpdater::assertNeedsToUpdateGraphicsLayerBitsCleared(*updateRoot);
#endif
@@ -678,7 +678,7 @@ void RenderLayerCompositor::recursiveRepaintLayer(RenderLayer* layer)
if (layer->compositingState() == PaintsIntoOwnBacking)
layer->repainter().setBackingNeedsRepaint();
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
LayerListMutationDetector mutationChecker(layer->stackingNode());
#endif
« no previous file with comments | « Source/core/rendering/compositing/GraphicsLayerUpdater.cpp ('k') | Source/core/svg/SVGDocumentExtensions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698