| 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 9855530a2d82a77c5e66a6b989a8497cea3fe0d3..d0bac89ba9602b55984447f57be0d5134552312b 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| @@ -707,8 +707,9 @@ void PaintLayerPainter::paintForegroundForFragments(const PaintLayerFragments& l
|
| } else {
|
| if (m_paintLayer.needsPaintPhaseDescendantBlockBackgrounds())
|
| paintForegroundForFragmentsWithPhase(PaintPhaseDescendantBlockBackgroundsOnly, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
| - if (m_paintLayer.needsPaintPhaseFloat())
|
| - paintForegroundForFragmentsWithPhase(PaintPhaseFloat, layerFragments, context, localPaintingInfo, paintFlags, clipState);
|
| + // TODO(wangxianzhu): Enable float empty-phase optimization after fixing crbug.com/603910.
|
| + // 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);
|
|
|