| 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 c087286bec16ffe880ae7ee0bc923f25a05f8476..f9f3f64100edd6d30fa39a3730d216a68930822a 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| @@ -672,7 +672,8 @@ void PaintLayerPainter::paintForegroundForFragments(const PaintLayerFragments& l
|
| layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
|
|
| if (!selectionOnly) {
|
| - paintForegroundForFragmentsWithPhase(PaintPhaseFloat, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
| + if (m_paintLayer.needsPaintPhaseFloat())
|
| + paintForegroundForFragmentsWithPhase(PaintPhaseFloat, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
| paintForegroundForFragmentsWithPhase(PaintPhaseForeground, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
| if (m_paintLayer.needsPaintPhaseDescendantOutlines())
|
| paintForegroundForFragmentsWithPhase(PaintPhaseDescendantOutlinesOnly, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
|
|