| 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 afed6e70197eed2327a5a262b937d1bde37e0a76..7f61d9b1baadc659030c4925fcd1398abedd5592 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| @@ -705,7 +705,7 @@ void PaintLayerPainter::paintForegroundForFragments(const PaintLayerFragments& l
|
| if (selectionOnly) {
|
| paintForegroundForFragmentsWithPhase(PaintPhaseSelection, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
| } else {
|
| - if (RuntimeEnabledFeatures::slimmingPaintUnderInvalidationCheckingEnabled() || m_paintLayer.needsPaintPhaseDescendantBlockBackgrounds()) {
|
| + if (RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled() || m_paintLayer.needsPaintPhaseDescendantBlockBackgrounds()) {
|
| size_t sizeBefore = context.getPaintController().newDisplayItemList().size();
|
| paintForegroundForFragmentsWithPhase(PaintPhaseDescendantBlockBackgroundsOnly, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
| // Don't set the empty flag if we are not painting the whole background.
|
| @@ -716,7 +716,7 @@ void PaintLayerPainter::paintForegroundForFragments(const PaintLayerFragments& l
|
| }
|
| }
|
|
|
| - if (RuntimeEnabledFeatures::slimmingPaintUnderInvalidationCheckingEnabled() || m_paintLayer.needsPaintPhaseFloat()) {
|
| + if (RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled() || m_paintLayer.needsPaintPhaseFloat()) {
|
| size_t sizeBefore = context.getPaintController().newDisplayItemList().size();
|
| paintForegroundForFragmentsWithPhase(PaintPhaseFloat, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
| bool phaseIsEmpty = context.getPaintController().newDisplayItemList().size() == sizeBefore;
|
| @@ -726,7 +726,7 @@ void PaintLayerPainter::paintForegroundForFragments(const PaintLayerFragments& l
|
|
|
| paintForegroundForFragmentsWithPhase(PaintPhaseForeground, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
|
|
| - if (RuntimeEnabledFeatures::slimmingPaintUnderInvalidationCheckingEnabled() || m_paintLayer.needsPaintPhaseDescendantOutlines()) {
|
| + if (RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled() || m_paintLayer.needsPaintPhaseDescendantOutlines()) {
|
| size_t sizeBefore = context.getPaintController().newDisplayItemList().size();
|
| paintForegroundForFragmentsWithPhase(PaintPhaseDescendantOutlinesOnly, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
| bool phaseIsEmpty = context.getPaintController().newDisplayItemList().size() == sizeBefore;
|
|
|