Closed
Bug 1287698
Opened 8 years ago
Closed 8 years ago
Make MDSM::mPendingDormant a bool
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(1 file)
A bool will do the job. We don't need a Maybe<bool>.
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/65154/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/65154/
Attachment #8772305 -
Flags: review?(jyavenard)
Comment 2•8 years ago
|
||
Comment on attachment 8772305 [details] Bug 1287698 - Make MDSM::mPendingDormant a bool. https://reviewboard.mozilla.org/r/65154/#review62192 ::: dom/media/MediaDecoderStateMachine.cpp:1198 (Diff revision 1) > // reset state, and put a ResetDecode in the decode task queue. Any tasks > // that run after ResetDecode are supposed to run with a clean slate. We rely > // on that in other places (i.e. seeking), so it seems reasonable to rely on > // it here as well. > mReader->ReleaseMediaResources(); > } else if ((aDormant != true) && (mState == DECODER_STATE_DORMANT)) { aDormant != true is redundant, it will always be true ; plus it's not moz coding style. may as well change it while there.
Attachment #8772305 -
Flags: review?(jyavenard) → review+
Assignee | ||
Comment 3•8 years ago
|
||
https://reviewboard.mozilla.org/r/65154/#review62192 > aDormant != true is redundant, it will always be true ; plus it's not moz coding style. > > may as well change it while there. Will do. Thanks for the review!
Assignee | ||
Comment 4•8 years ago
|
||
Comment on attachment 8772305 [details] Bug 1287698 - Make MDSM::mPendingDormant a bool. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/65154/diff/1-2/
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91afa84e2001 Make MDSM::mPendingDormant a bool. r=jya
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/91afa84e2001
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•