Closed Bug 363879 Opened 18 years ago Closed 18 years ago

deCOMtaminate nsGrid dir

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: anlan, Assigned: anlan)

Details

Attachments

(2 files, 3 obsolete files)

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.
Attached patch First patch, trivial returntype changes (obsolete) (deleted) — Splinter Review
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)
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+
Whoa, review after 13 minutes! :-)
Attachment #248682 - Attachment is obsolete: true
First patch landed by smaug, thanks.
Attached patch tmp patch (obsolete) (deleted) — Splinter Review
Attached patch Second patch, nsIgridPart.h changes (obsolete) (deleted) — Splinter Review
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
Attachment #248946 - Attachment is obsolete: true
Attachment #248950 - Flags: review?(roc)
Thanks to smaug for landing the second patch as well.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
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.

Attachment

General

Creator:
Created:
Updated:
Size: