зеркало из https://github.com/mozilla/pjs.git
Bug 752953 - Typo in calculation of 'allowExpansion' (result will always be an empty rect) in nsDisplayScrollLayer::ComputeVisibility. r=roc
This commit is contained in:
Родитель
b5c50fc691
Коммит
af9309e5fb
|
@ -2111,7 +2111,7 @@ nsDisplayScrollLayer::ComputeVisibility(nsDisplayListBuilder* aBuilder,
|
|||
nsRect boundedRect;
|
||||
boundedRect.IntersectRect(childVisibleRegion.GetBounds(), mList.GetBounds(aBuilder));
|
||||
nsRect allowExpansion;
|
||||
allowExpansion.IntersectRect(allowExpansion, boundedRect);
|
||||
allowExpansion.IntersectRect(boundedRect, aAllowVisibleRegionExpansion);
|
||||
bool visible = mList.ComputeVisibilityForSublist(
|
||||
aBuilder, &childVisibleRegion, boundedRect, allowExpansion);
|
||||
mVisibleRect = boundedRect;
|
||||
|
|
Загрузка…
Ссылка в новой задаче