| Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index 4add30262265f2b5cb301ef42e099f1f650373ad..40aa11be064e907c9f420e1377ae8c27e3a3cba1 100644
|
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -2085,6 +2085,19 @@ void CompositedLayerMapping::doPaintTask(const GraphicsLayerPaintInfo& paintInfo
|
| LayerPaintingInfo paintingInfo(paintInfo.renderLayer, dirtyRect, PaintBehaviorNormal, paintInfo.renderLayer->subpixelAccumulation());
|
| 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 PaintList& paintList = view->viewDisplayList().paintList();
|
| + for (PaintList::const_iterator it = paintList.begin(); it != paintList.end(); ++it)
|
| + (*it)->replay(context);
|
| + }
|
| + }
|
| +
|
| if (paintInfo.renderLayer->containsDirtyOverlayScrollbars())
|
| LayerPainter(*paintInfo.renderLayer).paintLayerContents(context, paintingInfo, paintLayerFlags | PaintLayerPaintingOverlayScrollbars);
|
| } else {
|
|
|