mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Bug 630891 - Don't repaint nsSubDocumentFrames when they move. r=roc a=roc
This commit is contained in:
parent
ccc3bd7165
commit
c345090daf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user