Bug 1222880 - Followup to handle the case when aStopAtAnimatedGeometryRoot isn't an ancestor of aAnimatedGeometryRoot. CLOSED TREE

This commit is contained in:
Matt Woodrow 2015-11-25 16:24:42 +13:00
Родитель 2a21a450b3
Коммит e486b02c34
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -3762,7 +3762,7 @@ GetScrollClipIntersection(nsDisplayListBuilder* aBuilder, AnimatedGeometryRoot*
DisplayItemClip resultClip;
nsIFrame* fParent;
for (AnimatedGeometryRoot* agr = aAnimatedGeometryRoot;
agr != aStopAtAnimatedGeometryRoot;
agr != aStopAtAnimatedGeometryRoot && agr;
agr = agr->mParentAGR) {
fParent = nsLayoutUtils::GetCrossDocParentFrame(*agr);
if (!fParent) {