зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7e3aaff2e6
Коммит
b5800a6de2
|
@ -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();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче