Bug 1411886 - Rebuild the dependent frame's display items in retained display list mode. r=mattwoodrow

MozReview-Commit-ID: F7239qCoKuI

--HG--
extra : rebase_source : db52d743caa8da001707ca7b7116c07a1d22acbc
This commit is contained in:
Ethan Lin 2017-10-26 17:36:54 +08:00
parent 7c3b9b1155
commit 6bb51d72d4

View File

@ -53,6 +53,9 @@ void MarkFramesWithItemsAndImagesModified(nsDisplayList* aList)
if (invalidate) {
i->FrameForInvalidation()->MarkNeedsDisplayItemRebuild();
if (i->GetDependentFrame()) {
i->GetDependentFrame()->MarkNeedsDisplayItemRebuild();
}
}
}
if (i->GetChildren()) {