Bug 355842 - set up marker property before getting invalidation region

for the first time.  r+sr=roc
This commit is contained in:
tor%cs.brown.edu 2006-10-12 17:06:47 +00:00
Родитель 92fe681ad7
Коммит 7afe96d388
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -267,8 +267,6 @@ nsSVGPathGeometryFrame::PaintSVG(nsISVGRendererCanvas* canvas,
Render(canvas);
if (NS_STATIC_CAST(nsSVGPathGeometryElement*, mContent)->IsMarkable()) {
// Marker Property is added lazily and may have been removed by a restyle
UpdateMarkerProperty();
nsSVGMarkerProperty *property = GetMarkerProperty();
if (property &&
@ -741,6 +739,8 @@ nsSVGPathGeometryFrame::UpdateGraphic(PRBool suppressInvalidation)
return NS_OK;
outerSVGFrame->InvalidateRect(mRect);
UpdateMarkerProperty();
UpdateCoveredRegion();
nsRect filterRect;