Slightly optimize NS_GetSpecialDirectory

RESOLVED FIXED

Status

()

Core
XPCOM
RESOLVED FIXED
15 years ago
15 years ago

People

(Reporter: jag (Peter Annema), Assigned: jag (Peter Annema))

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

15 years ago
There's no need for the additional addref and release from nsCOMPtr<nsISupports>
dir.
(Assignee)

Comment 1

15 years ago
Created attachment 124108 [details] [diff] [review]
Replace a Get into nsISupports dir with a get straight into aResult.
(Assignee)

Updated

15 years ago
Attachment #124108 - Flags: superreview?(dbaron)
Attachment #124108 - Flags: review?(dougt)

Updated

15 years ago
Attachment #124108 - Flags: review?(dougt) → review+
Attachment #124108 - Flags: superreview?(dbaron) → superreview+
(Assignee)

Comment 2

15 years ago
Checked in.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.