Closed
Bug 1278392
Opened 8 years ago
Closed 8 years ago
use std::unique_ptr for AccIterators
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: tbsaunde, Assigned: tbsaunde)
Details
Attachments
(1 file)
2.84 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8760874 -
Flags: review?(nfroyd)
Comment 2•8 years ago
|
||
Comment on attachment 8760874 [details] [diff] [review] use std::unique_ptr for AccIterators Review of attachment 8760874 [details] [diff] [review]: ----------------------------------------------------------------- Sure. r=me ::: accessible/base/Relation.h @@ +47,5 @@ > aRH.mLastIter = nullptr; > return *this; > } > > inline void AppendIter(AccIterable* aIter) It would be even better if this function took unique_ptr<AccIterable> and all callsites (which currently pass in |new|'d things) were changed to use make_unique. Then we could avoid |.reset()|.
Attachment #8760874 -
Flags: review?(nfroyd) → review+
Pushed by tsaunders@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/234044e5e804 use std::unique_ptr for AccIterators r=froydnj
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/234044e5e804
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Updated•8 years ago
|
Assignee: nobody → tbsaunde+mozbugs
You need to log in
before you can comment on or make changes to this bug.
Description
•