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 b73948bf5a
commit c54afa935d

View File

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