Skip to content

Commit

Permalink
Bug 1411886 - Rebuild the dependent frame's display items in retained…
Browse files Browse the repository at this point in the history
… display list mode. r=mattwoodrow

MozReview-Commit-ID: F7239qCoKuI
  • Loading branch information
demo99 committed Oct 27, 2017
1 parent d5045f9 commit fd8e532
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layout/painting/RetainedDisplayListBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ void MarkFramesWithItemsAndImagesModified(nsDisplayList* aList)

if (invalidate) {
i->FrameForInvalidation()->MarkNeedsDisplayItemRebuild();
if (i->GetDependentFrame()) {
i->GetDependentFrame()->MarkNeedsDisplayItemRebuild();
}
}
}
if (i->GetChildren()) {
Expand Down

0 comments on commit fd8e532

Please sign in to comment.