| Index: third_party/WebKit/Source/core/paint/BoxDecorationData.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BoxDecorationData.cpp b/third_party/WebKit/Source/core/paint/BoxDecorationData.cpp
|
| index dafa5088679eacd4808ba2454147c3c514503b6d..0c5e9a96d7d7a68a1168871b409c73502e12f887 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxDecorationData.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxDecorationData.cpp
|
| @@ -60,7 +60,7 @@ BackgroundBleedAvoidance BoxDecorationData::determineBackgroundBleedAvoidance(co
|
| // need the bleed avoidance because we will not paint anything behind the top layer.
|
| // But only if we need to draw something underneath.
|
| const FillLayer& fillLayer = layoutBox.style()->backgroundLayers();
|
| - if ((backgroundColor.alpha() || fillLayer.next()) && !BoxPainter::isFillLayerOpaque(fillLayer, layoutBox))
|
| + if ((backgroundColor.alpha() || fillLayer.next()) && !fillLayer.backgroundImageIsOpaque(layoutBox, layoutBox.style()->effectiveZoom()))
|
| return BackgroundBleedClipLayer;
|
| }
|
| return BackgroundBleedNone;
|
|
|