Closed
Bug 967023
Opened 10 years ago
Closed 10 years ago
nsXPCWrappedJSClass::GetNewOrUsed doesn't need to use an out param
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: mccr8, Assigned: mccr8)
Details
Attachments
(2 files)
1.73 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
6.53 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
It always returns NS_OK, so it could just return the value directly. All callers null-check the out param result. Ms2ger pointed this out.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → continuation
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8374324 -
Flags: review?(bobbyholley)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8374325 -
Flags: review?(bobbyholley)
Assignee | ||
Comment 3•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=5a96fefb4328
Updated•10 years ago
|
Attachment #8374324 -
Flags: review?(bobbyholley) → review+
Updated•10 years ago
|
Attachment #8374325 -
Flags: review?(bobbyholley) → review+
Assignee | ||
Comment 4•10 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/08efbd3dd17f remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/3223d3bfdcd0
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/08efbd3dd17f https://hg.mozilla.org/mozilla-central/rev/3223d3bfdcd0
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•