зеркало из https://github.com/mozilla/pjs.git
Bug 355842 - set up marker property before getting invalidation region
for the first time. r+sr=roc
This commit is contained in:
Родитель
92fe681ad7
Коммит
7afe96d388
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче