Closed
Bug 815972
Opened 13 years ago
Closed 13 years ago
Remove unneeded nsDisplayListCollection from nsBlockFrame.cpp:DisplayLine()
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
2.19 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
As hinted by the "then again" in bug 808767 comment 5, we have a nsDisplayListCollection in nsBlockFrame.cpp's "DisplayLine" helper-method that we don't actually need.
Filing this bug on removing it.
Assignee | ||
Comment 1•13 years ago
|
||
This patch:
(a) removes collection & directly operates on aLists instead.
(b) scopes |nsresult rv| to inside the loop.
(c) pulls the "lineInline ? nsIFrame::DISPLAY_CHILD_INLINE : 0" conditional out of the loop, since it will always evaluate to the same thing, and it makes the BuildDisplayListForChild function-call a little less bulky.
Try run w/ Linux32 & Mac: https://tbpl.mozilla.org/?tree=Try&rev=97c11cee34d2
Attachment #685988 -
Flags: review?(roc)
Assignee | ||
Comment 2•13 years ago
|
||
(The try run doesn't include parts (b) or (c), but those parts have basically zero chance of affecting behavior.)
Attachment #685988 -
Flags: review?(roc) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•