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

This commit is contained in:
sharparrow1@yahoo.com 2007-04-20 16:51:12 -07:00
Родитель d64be07013
Коммит ef438a7f65
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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);
}

Просмотреть файл

@ -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