Bug 378129: Consistently pass the right frame to InvalidateInternal. r+sr=roc.

git-svn-id: svn://10.0.0.236/trunk@224818 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sharparrow1%yahoo.com
2007-04-20 23:51:13 +00:00
parent 3b0a279292
commit 84d51fb79d
2 changed files with 3 additions and 3 deletions

View File

@@ -1839,7 +1839,7 @@ nsListControlFrame::InvalidateInternal(const nsRect& aDamageRect,
PRBool aImmediate)
{
if (!IsInDropDownMode())
nsHTMLScrollFrame::InvalidateInternal(aDamageRect, aX, aY, aForChild, aImmediate);
nsHTMLScrollFrame::InvalidateInternal(aDamageRect, aX, aY, this, aImmediate);
InvalidateRoot(aDamageRect, aX, aY, aImmediate);
}

View File

@@ -505,12 +505,12 @@ nsBlockFrame::InvalidateInternal(const nsRect& aDamageRect,
// abs-pos clipping clips everything in the frame
nsRect r;
if (r.IntersectRect(aDamageRect, absPosClipRect - nsPoint(aX, aY))) {
nsBlockFrameSuper::InvalidateInternal(r, aX, aY, aForChild, aImmediate);
nsBlockFrameSuper::InvalidateInternal(r, aX, aY, this, aImmediate);
}
return;
}
nsBlockFrameSuper::InvalidateInternal(aDamageRect, aX, aY, aForChild, aImmediate);
nsBlockFrameSuper::InvalidateInternal(aDamageRect, aX, aY, this, aImmediate);
}
nscoord