Closed Bug 361707 Opened 18 years ago Closed 18 years ago

nsTArray::SetCapacity should return PRBool

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

Details

Attachments

(1 file)

We should propagate the error status from EnsureCapacity.
Attached patch Trivial patchSplinter Review
The only concern I guess is that this changes API signature ... but it's in a build and run-time compatible way
Attachment #246445 - Flags: superreview?(bugmail)
Attachment #246445 - Flags: review?(bugmail)
Attachment #246445 - Flags: superreview?(bugmail)
Attachment #246445 - Flags: superreview+
Attachment #246445 - Flags: review?(bugmail)
Attachment #246445 - Flags: review+
checked in
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: