Closed Bug 381645 Opened 17 years ago Closed 17 years ago

Remove nsBoxFrame::GetContentOf

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sharparrow1, Assigned: sharparrow1)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch (obsolete) — Splinter Review
nsBoxFrame::GetContentOf always returns exactly the same thing as GetContent(); therefore, all calls to GetContentOf can be replaced with calls to GetContent().

The ifdef changes in nsBoxFrame are just ifdefing out a couple of otherwise unused helper functions.
Attachment #265719 - Flags: review?(dbaron)
Comment on attachment 265719 [details] [diff] [review]
Patch

r=dbaron, but I think you should call the isEmpty variables in nsSliderFrame wasEmpty instead.
Attachment #265719 - Flags: review?(dbaron) → review+
Attached patch Updated patchSplinter Review
Attachment #265719 - Attachment is obsolete: true
Attachment #265740 - Flags: superreview?(roc)
Comment on attachment 265740 [details] [diff] [review]
Updated patch

Presumably dbaron can sr this trivially...
Attachment #265740 - Flags: superreview?(roc) → superreview?(dbaron)
Comment on attachment 265740 [details] [diff] [review]
Updated patch

r+sr=dbaron
Attachment #265740 - Flags: superreview?(dbaron)
Attachment #265740 - Flags: superreview+
Attachment #265740 - Flags: review+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite-
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: