Closed
Bug 1312321
Opened 9 years ago
Closed 9 years ago
StateObject::SetState should be passed by value
Categories
(Core :: Audio/Video: Playback, defect, P1)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(2 files)
http://searchfox.org/mozilla-central/rev/84075be5067b68dc6cb3b89f999645650e68c05b/dom/media/MediaDecoderStateMachine.cpp#254
|aArgs| might reference data members which might be modified by Exit(). Using pass-by-value will save this horror and need no death grip.
Assignee | ||
Updated•9 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•9 years ago
|
Attachment #8803790 -
Flags: review?(jacheng)
Attachment #8803791 -
Flags: review?(jacheng)
Comment 3•9 years ago
|
||
mozreview-review |
Comment on attachment 8803791 [details]
Bug 1312321. Part 2 - make SetState() protected again.
https://reviewboard.mozilla.org/r/87946/#review87000
Attachment #8803791 -
Flags: review?(jacheng) → review+
Comment 4•9 years ago
|
||
mozreview-review |
Comment on attachment 8803790 [details]
Bug 1312321. Part 1 - make StateObject::SetState pass-by-value.
https://reviewboard.mozilla.org/r/87944/#review86994
LGTM
Attachment #8803790 -
Flags: review?(jacheng) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Thanks for the review!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b7fb1a72dd5c
Part 1 - make StateObject::SetState pass-by-value. r=JamesCheng
https://hg.mozilla.org/integration/autoland/rev/bf7df2a398a4
Part 2 - make SetState() protected again. r=JamesCheng
Comment 7•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b7fb1a72dd5c
https://hg.mozilla.org/mozilla-central/rev/bf7df2a398a4
Status: NEW → RESOLVED
Closed: 9 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
•