Closed
Bug 1306359
Opened 9 years ago
Closed 9 years ago
Stop using Scoped.h NSS types in RTCCertificate.(cpp|h)
Categories
(Core :: WebRTC: Audio/Video, defect, P5)
Core
WebRTC: Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla53
| Tracking | Status | |
|---|---|---|
| firefox53 | --- | fixed |
People
(Reporter: Cykesiopka, Assigned: Cykesiopka)
Details
Attachments
(1 file)
Scoped.h is deprecated in favour of UniquePtr - UniquePtr is standard, and is the long term solution. Scoped.h is essentially bloat and needs to go away.
Comment 1•9 years ago
|
||
I'd prefer to use std::unique_ptr<T>, which is what's actually standard. Do we know when that will be approved?
| Assignee | ||
Comment 2•9 years ago
|
||
(In reply to Eric Rescorla (:ekr) from comment #1)
> I'd prefer to use std::unique_ptr<T>, which is what's actually standard. Do
> we know when that will be approved?
No, sorry. The last time I saw this topic being discussed, there were still some issues with using it everywhere.
If you really want to use std::unique_ptr, I guess we can wait, but note that switching the underlying type of things like UniqueCERTCertificate from UniquePtr to std::unique_ptr was very straightforward and seemed to work fine the last time I tried it.
Comment 3•9 years ago
|
||
In that case, I think we should wait.
Updated•9 years ago
|
Rank: 55
Priority: -- → P5
| Assignee | ||
Comment 5•9 years ago
|
||
I switched the UniqueX types over to std::unique_ptr in Bug 1308132.
Assignee: nobody → cykesiopka.bmo
Status: NEW → ASSIGNED
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 8•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8801763 [details]
Bug 1306359 - Stop using Scoped.h NSS types in RTCCertificate.(cpp|h).
https://reviewboard.mozilla.org/r/86414/#review88716
I rebased this on top of the changes in Bug 1311383.
The interdiff is weird, so I recommend not looking at it.
| Comment hidden (mozreview-request) |
Comment 10•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8801763 [details]
Bug 1306359 - Stop using Scoped.h NSS types in RTCCertificate.(cpp|h).
https://reviewboard.mozilla.org/r/86414/#review99156
Attachment #8801763 -
Flags: review?(martin.thomson) → review+
| Assignee | ||
Comment 11•9 years ago
|
||
Thanks!
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7cd935b4c4d93349c60d21060d4f5b5e95f7dd97
Keywords: checkin-needed
Comment 12•9 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d840edb5b3ec
Stop using Scoped.h NSS types in RTCCertificate.(cpp|h). r=mt
Keywords: checkin-needed
Comment 13•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•