Closed
Bug 264453
Opened 20 years ago
Closed 10 years ago
Remove member variable nsLineLayout::mPresContext
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: rbs, Assigned: vhaarr+bmo)
Details
(Whiteboard: [good first bug])
Attachments
(1 file)
|
16.27 KB,
patch
|
Details | Diff | Splinter Review |
The member variable nsLineLayout::mPresContext can be removed because it can recovered at all the places where it is used.
Updated•20 years ago
|
Whiteboard: [good first bug]
| Assignee | ||
Comment 1•20 years ago
|
||
This sorely needs a review :) I've compiled and tested slashdot.org, etc, but I'm not at all sure I'm using the right prescontext references.
I guess I'm not quite sure why we want to change this. nsLineLayout objects are generally allocated on the stack, and they're always temporary, so it's rather like caching the result of GetPresContext() (which involves three dereferences) at the beginning of a function so it can be used a few times.
Comment 4•13 years ago
|
||
Someone feels like wontfixing, then?
I suggest this bug is WONTFIXed or at least have "good first bug" removed, if there is a uncertainty about if it should be fixed.
Comment 6•10 years ago
|
||
Resolving as WONTFIX per apparent consensus; feel free to reopen.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•