| 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 15c9e35b5a2b59504d2aee8ea46bb67d8c8cb495..aac246e2209ef7661323dbc72f242d3b64e4bae9 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| @@ -671,7 +671,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);
|
|
|