Closed Bug 864772 Opened 12 years ago Closed 12 years ago

Stop calling nsSVGUtils::InvalidateBounds in nsSVGDisplayContainerFrame::RemoveFrame, and use DLBI instead

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

(Keywords: perf)

Attachments

(1 file)

We should stop calling nsSVGUtils::InvalidateBounds in nsSVGDisplayContainerFrame::RemoveFrame, and use DLBI instead. Removing the calls causes failures in: reftests/svg/filters/dynamic-filtered-foreignObject-01.svg reftests/svg/moz-only/zoom-invalidation-01.svg reftests/svg/suspend-03.svg reftests/svg/suspend-07.svg
Keywords: perf
Attached patch patchSplinter Review
Hopefully the comment explains sufficiently why I'm having to call SchedulePaint() here.
Attachment #740855 - Flags: review?(matt.woodrow)
Comment on attachment 740855 [details] [diff] [review] patch Review of attachment 740855 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/svg/nsSVGContainerFrame.cpp @@ +157,5 @@ > + > + // nsSVGContainerFrame::RemoveFrame doesn't call down into > + // nsContainerFrame::RemoveFrame, so it doesn't call FrameNeedsReflow. We > + // need to schedule a repaint and schedule an update to our overflow rects. > + SchedulePaint(); This isn't required, DoReflow() will call it.
Attachment #740855 - Flags: review?(matt.woodrow) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: