Bug 1106895 - (WIP) Fix attachment 8531817 anand attachment 8531848 which created by Alice.
MozReview-Commit-ID: LQfFPiV2LzC
--- a/layout/painting/nsDisplayList.cpp
+++ b/layout/painting/nsDisplayList.cpp
@@ -9226,17 +9226,17 @@ nsDisplayFilter::ComputeInvalidationRegi
void
nsDisplayFilter::PaintAsLayer(nsDisplayListBuilder* aBuilder,
gfxContext* aCtx,
LayerManager* aManager)
{
imgDrawingParams imgParams(aBuilder->ShouldSyncDecodeImages()
? imgIContainer::FLAG_SYNC_DECODE
: imgIContainer::FLAG_SYNC_DECODE_IF_FAST);
- nsRect borderArea = nsRect(ToReferenceFrame(), mFrame->GetSize());
+ nsRect borderArea = nsRect(ToReferenceFrame(), mEffectsBounds.Size());
nsSVGIntegrationUtils::PaintFramesParams params(*aCtx,
mFrame, mVisibleRect,
borderArea, aBuilder,
aManager,
mHandleOpacity, imgParams);
nsSVGIntegrationUtils::PaintFilter(params);
nsDisplayFilterGeometry::UpdateDrawResult(this, imgParams.result);
}