Closed
Bug 750026
Opened 12 years ago
Closed 12 years ago
rm some unneeded nsCOMPtrs
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: tbsaunde, Assigned: tbsaunde)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
4.88 KB,
patch
|
surkov
:
review+
|
Details | Diff | Splinter Review |
1.00 KB,
patch
|
surkov
:
review+
|
Details | Diff | Splinter Review |
I'm pretty sure we don't need owning refs in any of these places.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #619366 -
Flags: review?(surkov.alexander)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #619367 -
Flags: review?(surkov.alexander)
Updated•12 years ago
|
Summary: rm some unneeded nsnsCOMPtrs → rm some unneeded nsCOMPtrs
Updated•12 years ago
|
Attachment #619366 -
Flags: review?(surkov.alexander) → review+
Comment 3•12 years ago
|
||
Comment on attachment 619367 [details] [diff] [review] don't keep a ref to an atom when we don't need to Review of attachment 619367 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/src/html/nsHTMLSelectAccessible.cpp @@ +190,2 @@ > if (tag == nsGkAtoms::option || > tag == nsGkAtoms::optgroup) { I'd say use Tag() directly since it seems no benefits to have a local for that.
Attachment #619367 -
Flags: review?(surkov.alexander) → review+
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to alexander :surkov from comment #3) > Comment on attachment 619367 [details] [diff] [review] > don't keep a ref to an atom when we don't need to > > Review of attachment 619367 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: accessible/src/html/nsHTMLSelectAccessible.cpp > @@ +190,2 @@ > > if (tag == nsGkAtoms::option || > > tag == nsGkAtoms::optgroup) { > > I'd say use Tag() directly since it seems no benefits to have a local for > that. well, maybe a little nicer to ahve local since its shorter I can merge the two lines of the if onto 1 this way.
Comment 5•12 years ago
|
||
ok, up to you, just iirc they said to avoid locals for inlines.
Assignee | ||
Comment 6•12 years ago
|
||
landed https://hg.mozilla.org/integration/mozilla-inbound/rev/90e9ed44fc45
Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → mozilla15
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/90e9ed44fc45
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•