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
parent ccc3bd7165
commit c345090daf

View File

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