Closed
Bug 1324999
Opened 8 years ago
Closed 8 years ago
Improve encapsulation of state objects of MDSM
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
People
(Reporter: jwwang, Unassigned)
References
Details
(Keywords: meta)
http://searchfox.org/mozilla-central/rev/cc2a84852bd4e6f6d8d4d5b17b8382bb5d005749/dom/media/MediaDecoderStateMachine.cpp#3153
It is a bad smell for MDSM to check the current state and decide what to do next. All such code patterns should change to virtual functions so we have a clear separation between mechanism code (MDSM) and policy code (state objects).
Updated•8 years ago
|
Priority: -- → P3
Reporter | ||
Comment 1•8 years ago
|
||
All dependency fixed.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•