mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Backed out changeset f26525123e6a (bug 1411132) for build bustage
CLOSED TREE MozReview-Commit-ID: AcF8eNmKntl
This commit is contained in:
parent
65d2972514
commit
a9875ab37a
@ -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() });
|
||||
|
Loading…
Reference in New Issue
Block a user