Closed Bug 397330 Opened 17 years ago Closed 17 years ago

Don't call SuspendRedraw during InsertFrames

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: longsonr, Assigned: longsonr)

References

Details

Attachments

(1 file)

See bug 374037, particularly bug 374037 comment 50
Attachment #282089 - Flags: review?(jwatt)
Comment on attachment 282089 [details] [diff] [review]
Use base class InsertFrames

Start at bug 374037 comment 46.

On looking at the code more closely, the only concern I had was that this change would cause the code here:

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/svg/base/src/nsSVGPathGeometryFrame.cpp&rev=1.100&mark=753-768#737

to be called too early. That's not the case. Or rather it won't be called any earlier than it already is, since, if the only SuspendRedraw call was the call in nsSVGOuterSVGFrame::InsertFrames, then the UnsuspendRedraw call there will cause it to be called at essentially the same point during frame construction.
Attachment #282089 - Flags: review?(jwatt) → review+
Attachment #282089 - Flags: superreview?(roc)
Attachment #282089 - Flags: superreview?(roc)
Attachment #282089 - Flags: superreview+
Attachment #282089 - Flags: approval1.9+
checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: