| Index: sky/engine/core/rendering/InlineFlowBox.cpp
|
| diff --git a/sky/engine/core/rendering/InlineFlowBox.cpp b/sky/engine/core/rendering/InlineFlowBox.cpp
|
| index 8a3c248f15313da00b9694a06fdc89f90bc59af7..d3bf1dbbafd8c239b7131884f9091df1b6885c0e 100644
|
| --- a/sky/engine/core/rendering/InlineFlowBox.cpp
|
| +++ b/sky/engine/core/rendering/InlineFlowBox.cpp
|
| @@ -1205,10 +1205,9 @@ void InlineFlowBox::paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOffs
|
|
|
| // Figure out if we need to push a transparency layer to render our mask.
|
| bool pushTransparencyLayer = false;
|
| - bool compositedMask = renderer().hasLayer() && boxModelObject()->layer()->hasCompositedMask();
|
| bool flattenCompositingLayers = renderer().view()->frameView() && renderer().view()->frameView()->paintBehavior() & PaintBehaviorFlattenCompositingLayers;
|
| CompositeOperator compositeOp = CompositeSourceOver;
|
| - if (!compositedMask || flattenCompositingLayers) {
|
| + if (flattenCompositingLayers) {
|
| if ((maskBoxImage && renderer().style()->maskLayers().hasImage()) || renderer().style()->maskLayers().next())
|
| pushTransparencyLayer = true;
|
|
|
|
|