Bug 722923. Part 4: Don't walk continuation chain in SyncViewsAndInvalidateDescendants since DoApplyRenderingChangeToTree already does that. r=matspal

--HG--
extra : rebase_source : 76d249a52afdcb999f56da6842cf8c96c9e8088a
This commit is contained in:
Robert O'Callahan 2013-07-06 23:53:42 +12:00
parent 3cf77aa4af
commit 13e23ca712

View File

@ -7653,10 +7653,8 @@ SyncViewsAndInvalidateDescendants(nsIFrame* aFrame,
// do the out-of-flow frame and its continuations
nsIFrame* outOfFlowFrame =
nsPlaceholderFrame::GetRealFrameForPlaceholder(child);
do {
DoApplyRenderingChangeToTree(outOfFlowFrame, aFrameManager,
aChange);
} while ((outOfFlowFrame = outOfFlowFrame->GetNextContinuation()));
DoApplyRenderingChangeToTree(outOfFlowFrame, aFrameManager,
aChange);
} else if (lists.CurrentID() == nsIFrame::kPopupList) {
DoApplyRenderingChangeToTree(child, aFrameManager,
aChange);