Bug 630891 - Don't repaint nsSubDocumentFrames when they move. r=roc a=roc

This commit is contained in:
Patrick Walton 2011-02-02 13:53:53 -08:00
Родитель ccc3bd7165
Коммит c345090daf
1 изменённых файлов: 0 добавлений и 5 удалений

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

@ -674,11 +674,6 @@ nsSubDocumentFrame::Reflow(nsPresContext* aPresContext,
FinishAndStoreOverflow(&aDesiredSize);
// Invalidate the frame contents
// XXX is this really needed?
nsRect rect(nsPoint(0, 0), GetSize());
Invalidate(rect);
if (!aPresContext->IsPaginated() && !mPostedReflowCallback) {
PresContext()->PresShell()->PostReflowCallback(this);
mPostedReflowCallback = PR_TRUE;