Bug 1178575 - Intersect the clip rect with aDirtyRect. r=roc

This commit is contained in:
Mats Palmgren 2015-08-07 14:05:48 +02:00
parent bf5e1cfc83
commit 3147ef01c4

View File

@ -1418,6 +1418,7 @@ nsCSSRendering::PaintBoxShadowOuter(nsPresContext* aPresContext,
}
}
}
fragmentClip = fragmentClip.Intersect(aDirtyRect);
renderContext->
Clip(NSRectToSnappedRect(fragmentClip,
aForFrame->PresContext()->AppUnitsPerDevPixel(),