| Index: sky/engine/core/rendering/RenderBox.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBox.cpp b/sky/engine/core/rendering/RenderBox.cpp
|
| index e25356e32ac8975eef76ee51ed3212ab10cfb94f..a7649a5bd503036f4d9fe512023c79cc330ea219 100644
|
| --- a/sky/engine/core/rendering/RenderBox.cpp
|
| +++ b/sky/engine/core/rendering/RenderBox.cpp
|
| @@ -499,13 +499,6 @@ bool RenderBox::backgroundHasOpaqueTopLayer() const
|
| return false;
|
| }
|
|
|
| -void RenderBox::paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| -{
|
| - LayoutRect paintRect = LayoutRect(paintOffset, size());
|
| - paintFillLayers(paintInfo, Color::transparent, style()->maskLayers(), paintRect, BackgroundBleedNone);
|
| - paintNinePieceImage(paintInfo.context, paintRect, style(), style()->maskBoxImage());
|
| -}
|
| -
|
| void RenderBox::paintFillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer& fillLayer, const LayoutRect& rect,
|
| BackgroundBleedAvoidance bleedAvoidance, RenderObject* backgroundObject)
|
| {
|
| @@ -568,9 +561,6 @@ void RenderBox::paintFillLayer(const PaintInfo& paintInfo, const Color& c, const
|
|
|
| bool RenderBox::pushContentsClip(PaintInfo& paintInfo, const LayoutPoint& accumulatedOffset, ContentsClipBehavior contentsClipBehavior)
|
| {
|
| - if (paintInfo.phase == PaintPhaseMask)
|
| - return false;
|
| -
|
| bool isOverflowClip = hasOverflowClip() && !layer()->isSelfPaintingLayer();
|
| if (!isOverflowClip)
|
| return false;
|
|
|