Backed out changeset f26525123e6a (bug 1411132) for build bustage

CLOSED TREE

MozReview-Commit-ID: AcF8eNmKntl
This commit is contained in:
Phil Ringnalda 2017-10-29 21:23:43 -07:00
parent 65d2972514
commit a9875ab37a

View File

@ -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() });