| Index: third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| index 8e4236f5cb195962ffd3b022ca1fc9ecaff40e42..3d6d0f913eb04a570f2d45cd7e6e13d36f321766 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| @@ -92,7 +92,6 @@ void BoxPainter::paintBoxDecorationBackgroundWithRect(const PaintInfo& paintInfo
|
|
|
| GraphicsContextStateSaver stateSaver(paintInfo.context, false);
|
| if (bleedAvoidanceIsClipping(boxDecorationData.bleedAvoidance)) {
|
| -
|
| stateSaver.save();
|
| FloatRoundedRect border = style.getRoundedBorderFor(paintRect);
|
| paintInfo.context.clipRoundedRect(border);
|
| @@ -135,7 +134,7 @@ void BoxPainter::paintBackground(const PaintInfo& paintInfo, const LayoutRect& p
|
| paintFillLayers(paintInfo, backgroundColor, m_layoutBox.style()->backgroundLayers(), paintRect, bleedAvoidance);
|
| }
|
|
|
| -static bool isFillLayerOpaque(const FillLayer& layer, const LayoutObject& imageClient)
|
| +bool BoxPainter::isFillLayerOpaque(const FillLayer& layer, const LayoutObject& imageClient)
|
| {
|
| return layer.hasOpaqueImage(&imageClient)
|
| && layer.image()->canRender()
|
|
|