Bug 310321 - fix path update logic for nonmarkable objects. r=scooter

This commit is contained in:
tor%cs.brown.edu 2005-09-28 23:42:57 +00:00
parent 6fe5b3ee79
commit bc682e35f3

View File

@ -1019,11 +1019,12 @@ void nsSVGPathGeometryFrame::UpdateGraphic(PRUint32 flags,
mMarkerRegion = GetCoveredRegion();
if (mMarkerRegion)
outerSVGFrame->InvalidateRegion(mMarkerRegion, PR_TRUE);
} else {
if (dirty_region)
outerSVGFrame->InvalidateRegion(dirty_region, PR_TRUE);
return;
}
}
if (dirty_region)
outerSVGFrame->InvalidateRegion(dirty_region, PR_TRUE);
}
}
}