diff --git a/layout/painting/nsDisplayList.cpp b/layout/painting/nsDisplayList.cpp index c1458f817477..03dba582217f 100644 --- a/layout/painting/nsDisplayList.cpp +++ b/layout/painting/nsDisplayList.cpp @@ -8893,15 +8893,6 @@ bool nsDisplayMask::ShouldPaintOnMaskLayer(LayerManager* aManager) return false; } - nsSVGUtils::MaskUsage maskUsage; - nsSVGUtils::DetermineMaskUsage(mFrame, mHandleOpacity, maskUsage); - - // XXX Temporary disable paint clip-path onto mask before figure out - // performance regression(bug 1325550). - if (maskUsage.shouldApplyClipPath) { - return false; - } - if (!nsSVGIntegrationUtils::IsMaskResourceReady(mFrame)) { return false; }