Closed Bug 1219163 Opened 9 years ago Closed 9 years ago

Remove unused functions from AbstractMediaDecoder

Categories

(Core :: Audio/Video: Playback, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

Details

Attachments

(2 files)

AbstractMediaDecoder::NotifyDataArrived has no callers and can be removed. MediaDecoder::NotifyDataArrived has no overrides and can be devirtualized.
Correction: MediaDecoder::NotifyDataArrived implements MediaResourceCallback and can't be devirtualized. We will remove AbstractMediaDecoder::NotifyDataArrived only.
Assignee: nobody → jwwang
Summary: Devirtualize MediaDecoder::NotifyDataArrived → Remove AbstractMediaDecoder::NotifyDataArrived
In fact, we will clean up unused functions of AbstractMediaDecoder.
Summary: Remove AbstractMediaDecoder::NotifyDataArrived → Remove unused functions from AbstractMediaDecoder
Priority: -- → P2
Bug 1219163. Part 1 - Remove unused functions from AbstractMediaDecoder. r=jya.
Attachment #8690610 - Flags: review?(jyavenard)
Bug 1219163. Part 2 - Move some functions that are never called from the interface of AbstractMediaDecoder down the class hierarchy. r=jya.
Attachment #8690611 - Flags: review?(jyavenard)
Comment on attachment 8690610 [details]
MozReview Request: Bug 1219163. Part 1 - Remove unused functions from AbstractMediaDecoder. r=jya.

https://reviewboard.mozilla.org/r/25879/#review23275
Attachment #8690610 - Flags: review?(jyavenard) → review+
Comment on attachment 8690611 [details]
MozReview Request: Bug 1219163. Part 2 - Move some functions that are never called from the interface of AbstractMediaDecoder down the class hierarchy. r=jya.

https://reviewboard.mozilla.org/r/25881/#review23277
Attachment #8690611 - Flags: review?(jyavenard) → review+
Thanks for the review!
https://hg.mozilla.org/mozilla-central/rev/ebce560d20ac
https://hg.mozilla.org/mozilla-central/rev/1911381f3f89
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: