Closed
Bug 363879
Opened 18 years ago
Closed 18 years ago
deCOMtaminate nsGrid dir
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: anlan, Assigned: anlan)
Details
Attachments
(2 files, 3 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
I started to revive my old patch which started to deComtaminate old nsIBox methods (bug 243370), and noticed that I hade started to do some other cleanup in there. That patch will be large enough as it is so I decided to split out the changes for /layout/xul/base/src/grid/.
The clean-up soon got out of hand, I'll attached two patches. Not very important code, but since I started I might as well finish it.
Assignee | ||
Comment 1•18 years ago
|
||
Fixed returntypes and some small things along the way. Will make this look like the fixed nsIFrame code once it is fixed.
Tested with the gred/examples/ files.
Attachment #248682 -
Flags: review?(roc)
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Comment on attachment 248682 [details] [diff] [review]
First patch, trivial returntype changes
- aSize = 0;
- return NS_OK;
+ nscoord height(0);
+ return height;
Just "return 0;"
+ if (row->IsCollapsed(aState)) {
+ nscoord height(0);
+ return height;
+ }
Ditto
- aSize = 0;
- return NS_OK;
+ nscoord height(0);
+ return height;
Ditto
Attachment #248682 -
Flags: superreview+
Attachment #248682 -
Flags: review?(roc)
Attachment #248682 -
Flags: review+
Assignee | ||
Comment 3•18 years ago
|
||
Whoa, review after 13 minutes! :-)
Attachment #248682 -
Attachment is obsolete: true
Assignee | ||
Comment 4•18 years ago
|
||
First patch landed by smaug, thanks.
Assignee | ||
Comment 5•18 years ago
|
||
Assignee | ||
Comment 6•18 years ago
|
||
Last patch, more code removal here.
I'll follow up this bug by investigating a few old bugs regarding assertions in nsGrid.
Attachment #248844 -
Attachment is obsolete: true
Assignee | ||
Comment 7•18 years ago
|
||
Attachment #248946 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Attachment #248950 -
Flags: review?(roc)
Attachment #248950 -
Flags: superreview+
Attachment #248950 -
Flags: review?(roc)
Attachment #248950 -
Flags: review+
Assignee | ||
Comment 8•18 years ago
|
||
Thanks to smaug for landing the second patch as well.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•