Bug 1420312 - Followup to only mark frame as modified during retained building, since otherwise it won't be restored.

--HG--
extra : rebase_source : 675d7b40da6c41f2b2bc1513bee72e3361cbcd33
This commit is contained in:
Matt Woodrow 2017-11-27 16:47:28 +13:00
Родитель 7e3aaff2e6
Коммит b5800a6de2
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -2758,8 +2758,10 @@ nsIFrame::BuildDisplayListForStackingContext(nsDisplayListBuilder* aBuilder,
// We rebuild everything within preserve-3d and don't try // We rebuild everything within preserve-3d and don't try
// to retain, so override the dirty rect now. // to retain, so override the dirty rect now.
dirtyRect = visibleRect; if (aBuilder->IsRetainingDisplayList()) {
aBuilder->MarkFrameModifiedDuringBuilding(this); dirtyRect = visibleRect;
aBuilder->MarkFrameModifiedDuringBuilding(this);
}
} }
bool inTransform = aBuilder->IsInTransform(); bool inTransform = aBuilder->IsInTransform();