| Index: sky/engine/core/rendering/RenderBlock.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBlock.cpp b/sky/engine/core/rendering/RenderBlock.cpp
|
| index 34711bfafc54420699a8d8ff79e9c5089977858b..2da944eaeeaf42ae2751198ae1411ae3be1daa63 100644
|
| --- a/sky/engine/core/rendering/RenderBlock.cpp
|
| +++ b/sky/engine/core/rendering/RenderBlock.cpp
|
| @@ -501,9 +501,7 @@ void RenderBlock::paintChildAsInlineBlock(RenderBox* child, PaintInfo& paintInfo
|
|
|
| void RenderBlock::paintAsInlineBlock(RenderObject* renderer, PaintInfo& paintInfo, const LayoutPoint& childPoint)
|
| {
|
| - // FIXME(sky): Why don't masks go down this path?
|
| - if (paintInfo.phase == PaintPhaseMask)
|
| - return;
|
| + // FIXME(sky): Remove this function.
|
| renderer->paint(paintInfo, childPoint);
|
| }
|
|
|
| @@ -538,11 +536,6 @@ void RenderBlock::paintCarets(PaintInfo& paintInfo, const LayoutPoint& paintOffs
|
|
|
| void RenderBlock::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| - if (paintInfo.phase == PaintPhaseMask) {
|
| - paintMask(paintInfo, paintOffset);
|
| - return;
|
| - }
|
| -
|
| if (hasBoxDecorationBackground())
|
| paintBoxDecorationBackground(paintInfo, paintOffset);
|
|
|
|
|