Closed Bug 117374 Opened 23 years ago Closed 23 years ago

UpdateSpaceManager no longer needed

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla0.9.8

People

(Reporter: dbaron, Assigned: dbaron)

References

Details

(Keywords: perf)

Attachments

(1 file, 1 obsolete file)

There was apparently a long thread on the performance newsgroups about
UpdateSpaceManager of which I was not informed.  I think this function is no
longer needed as a result of my changes for bug 86947 and bug 106658, but I
neglected to remove it.  As a result of the changes in those two bugs,
nsBlockReflowState::RecoverFloaters should be doing all the work that
UpdateSpaceManager did.  (It used to be that SlideLine was called from a
different point in the code -- I'm not in the mood to figure out how things used
to work, but it probably used to make sense, except that the code in
RecoverFloaters was duplicating some addition to the space manager that had
already happened in UpdateSpaceManager at the wrong coordinates.)  I also caught
what I think is a bug in RecoverFloaters that was causing some bugs on misplaced
floats that I've seen -- it should have been passing a 0 aDeltaY for the
recursive calls, I think.

However, I'm going to test the patch before I attach it... :-)
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.8
Keywords: perf
Comment on attachment 63030 [details] [diff] [review]
slightly cleaner (prefer GetOrigin/MoveTo over GetRect/SetRect)

r=/sr=waterson
Attachment #63030 - Flags: superreview+
Comment on attachment 63030 [details] [diff] [review]
slightly cleaner (prefer GetOrigin/MoveTo over GetRect/SetRect)

r=attinasi
Attachment #63030 - Flags: review+
Fix checked in 2002-01-06 10:14 PDT.
Status: ASSIGNED → RESOLVED
Closed: 23 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: