Bug 748048 - Part 1: Remove SetInvalidationDimensions and GetInvalidationDimensions. r=roc

This commit is contained in:
Ali Juma
2012-05-03 12:33:51 -04:00
parent 243ffcb195
commit 48bd26d5f4
6 changed files with 8 additions and 65 deletions

View File

@@ -4553,6 +4553,10 @@ void
nsIFrame::InvalidateInternalAfterResize(const nsRect& aDamageRect, nscoord aX,
nscoord aY, PRUint32 aFlags)
{
if (aDamageRect.IsEmpty()) {
return;
}
/* If we're a transformed frame, then we need to apply our transform to the
* damage rectangle so that the redraw correctly redraws the transformed
* region. We're moved over aX and aY from our origin, but since this aX