Closed
Bug 1214989
Opened 9 years ago
Closed 9 years ago
Remove MediaDecoder::Init()
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(3 files)
Per https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rc-complete.
Since MediaDecoder::Init() always returns true now, we can move the code into the constructor to enforce more invariants.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jwwang
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1214989. Part 1 - add MediaDecoderOwner to the constructors of MediaDecoder and sub-classes. r=gerald.
Attachment #8674040 -
Flags: review?(gsquelart)
Assignee | ||
Comment 3•9 years ago
|
||
Bug 1214989. Part 2 - add MediaDecoderOwner to Clone() and overrides. r=gerald.
Attachment #8674041 -
Flags: review?(gsquelart)
Assignee | ||
Comment 4•9 years ago
|
||
Bug 1214989. Part 3 - remove MediaDecoder::Init() and its callers. r=gerald.
Attachment #8674042 -
Flags: review?(gsquelart)
Attachment #8674040 -
Flags: review?(gsquelart) → review+
Comment on attachment 8674040 [details]
MozReview Request: Bug 1214989. Part 1 - add MediaDecoderOwner to the constructors of MediaDecoder and sub-classes. r=gerald.
https://reviewboard.mozilla.org/r/22185/#review19777
Comment on attachment 8674041 [details]
MozReview Request: Bug 1214989. Part 2 - add MediaDecoderOwner to Clone() and overrides. r=gerald.
https://reviewboard.mozilla.org/r/22187/#review19779
Attachment #8674041 -
Flags: review?(gsquelart) → review+
Comment on attachment 8674042 [details]
MozReview Request: Bug 1214989. Part 3 - remove MediaDecoder::Init() and its callers. r=gerald.
https://reviewboard.mozilla.org/r/22189/#review19781
Attachment #8674042 -
Flags: review?(gsquelart) → review+
Assignee | ||
Comment 9•9 years ago
|
||
Thanks for the review!
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/22d4ee3b8328
https://hg.mozilla.org/mozilla-central/rev/9dbeeab11633
https://hg.mozilla.org/mozilla-central/rev/37db54da9eec
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•