Skip to content

Commit

Permalink
Backed out changeset f26525123e6a (bug 1411132) for build bustage
Browse files Browse the repository at this point in the history
CLOSED TREE

MozReview-Commit-ID: AcF8eNmKntl
  • Loading branch information
philor committed Oct 30, 2017
1 parent f2aab7a commit e00a451
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions layout/painting/RetainedDisplayListBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,14 +393,6 @@ RetainedDisplayListBuilder::MergeDisplayLists(nsDisplayList* aNewList,
nsDisplayItem* old = nullptr;
while ((old = aOldList->RemoveBottom()) && !IsSameItem(newItem, old)) {
if (!IsAnyAncestorModified(old->FrameForInvalidation())) {
// Recurse into the child list (without a matching new list) to
// ensure that we find and remove any invalidated items.
if (old->GetChildren()) {
nsDisplayList empty(&mBuilder);
MergeDisplayLists(&empty, old->GetChildren(),
old->GetChildren(), aStats);
old->UpdateBounds(&mBuilder);
}
ReuseItem(old);
} else {
oldListLookup.Remove({ old->Frame(), old->GetPerFrameKey() });
Expand Down

0 comments on commit e00a451

Please sign in to comment.