Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp |
diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
index d538ee3584b577db0c04a9fd08e9eba1119b6170..d6157b33b210f027cdc0c931be1188238513e2f2 100644 |
--- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
+++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
@@ -2134,6 +2134,11 @@ void CompositedLayerMapping::doPaintTask(const GraphicsLayerPaintInfo& paintInfo |
LayerPainter(*paintInfo.renderLayer).paintLayerContents(context, paintingInfo, paintLayerFlags); |
if (RuntimeEnabledFeatures::slimmingPaintEnabled()) { |
+ |
+#ifndef NDEBUG |
+ context->fillRect(dirtyRect, Color(0xFF, 0, 0)); |
+#endif |
+ |
if (RenderView* view = paintInfo.renderLayer->renderer()->view()) { |
const PaintCommandList& paintCommandList = view->viewDisplayList().paintCommandList(); |
for (PaintCommandList::const_iterator it = paintCommandList.begin(); it != paintCommandList.end(); ++it) |