Closed Bug 1029478 Opened 10 years ago Closed 10 years ago

Remove dangerous public destructor of TransportFlow

Categories

(Core :: WebRTC, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: bjacob, Assigned: mccr8)

References

Details

Attachments

(1 file)

In bug 1028588 we removed all dangerous public destructors of XPCOM-refcounted classes outside of a finite whitelist, see HasDangerousPublicDestructor. Now we are going over the entries in this whitelist.

One of them is: TransportFlow
No longer depends on: 1028588
Assignee: nobody → continuation
Comment on attachment 8464351 [details] [diff] [review]
Remove dangerous public destructor of TransportFlow.

Review of attachment 8464351 [details] [diff] [review]:
-----------------------------------------------------------------

Looks reasonable. One small nit...

::: media/mtransport/transportflow.h
@@ +65,1 @@
>    ~TransportFlow();

I'd prefer if we moved this down to the existing "private" section.
Attachment #8464351 - Flags: review?(adam) → review+
> I'd prefer if we moved this down to the existing "private" section.
Done.

https://hg.mozilla.org/integration/mozilla-inbound/rev/9cdb0d2dcf5d
https://hg.mozilla.org/mozilla-central/rev/9cdb0d2dcf5d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: