Closed
Bug 1309116
Opened 8 years ago
Closed 8 years ago
Make StateObject::SetState a variadic template
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(4 files)
This will allow us to remove InitiateSeek() and always call SetState() to change states. The function will also handle state transition details like entry/exit actions.
Assignee | ||
Updated•8 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8800967 -
Flags: review?(kaku)
Attachment #8800968 -
Flags: review?(kaku)
Attachment #8800969 -
Flags: review?(kaku)
Attachment #8800970 -
Flags: review?(kaku)
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8800967 [details] Bug 1309116. Part 1 - move some functions out of class definition because we need to see the complete definition when trying to 'new' an object. https://reviewboard.mozilla.org/r/85762/#review84432
Attachment #8800967 -
Flags: review?(kaku) → review+
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8800968 [details] Bug 1309116. Part 2 - rewrite StateObject::SetState using variadic template. https://reviewboard.mozilla.org/r/85764/#review84434
Attachment #8800968 -
Flags: review?(kaku) → review+
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8800969 [details] Bug 1309116. Part 3 - replace InitiateSeek() with StateObject::SetState(). https://reviewboard.mozilla.org/r/85766/#review84436
Attachment #8800969 -
Flags: review?(kaku) → review+
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8800970 [details] Bug 1309116. Part 4 - fix remaining calls to MDSM::SetState() and remove unused functions. https://reviewboard.mozilla.org/r/85768/#review84438
Attachment #8800970 -
Flags: review?(kaku) → review-
Assignee | ||
Comment 9•8 years ago
|
||
(In reply to Tzuhao Kuo [:kaku] from comment #8) > Comment on attachment 8800970 [details] > Bug 1309116. Part 4 - fix remaining calls to MDSM::SetState() and remove > unused functions. > > https://reviewboard.mozilla.org/r/85768/#review84438 Can you give some review comments for r-?
Comment 10•8 years ago
|
||
(In reply to JW Wang [:jwwang] [:jw_wang] from comment #9) > (In reply to Tzuhao Kuo [:kaku] from comment #8) > > Comment on attachment 8800970 [details] > > Bug 1309116. Part 4 - fix remaining calls to MDSM::SetState() and remove > > unused functions. > > > > https://reviewboard.mozilla.org/r/85768/#review84438 > > Can you give some review comments for r-? It is a mistake..., sorry.
Comment 11•8 years ago
|
||
mozreview-review |
Comment on attachment 8800970 [details] Bug 1309116. Part 4 - fix remaining calls to MDSM::SetState() and remove unused functions. https://reviewboard.mozilla.org/r/85768/#review84440
Attachment #8800970 -
Flags: review- → review+
Assignee | ||
Comment 12•8 years ago
|
||
Thanks for the review!
Comment 13•8 years ago
|
||
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c37bc5153f4 Part 1 - move some functions out of class definition because we need to see the complete definition when trying to 'new' an object. r=kaku https://hg.mozilla.org/integration/autoland/rev/ac4ed7547bf1 Part 2 - rewrite StateObject::SetState using variadic template. r=kaku https://hg.mozilla.org/integration/autoland/rev/8f29186034ce Part 3 - replace InitiateSeek() with StateObject::SetState(). r=kaku https://hg.mozilla.org/integration/autoland/rev/4d61631a9387 Part 4 - fix remaining calls to MDSM::SetState() and remove unused functions. r=kaku
Comment 14•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5c37bc5153f4 https://hg.mozilla.org/mozilla-central/rev/ac4ed7547bf1 https://hg.mozilla.org/mozilla-central/rev/8f29186034ce https://hg.mozilla.org/mozilla-central/rev/4d61631a9387
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•