Closed Bug 1393379 Opened 7 years ago Closed 7 years ago

Make MediaDecoder::AddSizeOfResources pure virtual

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(2 files)

Sub-classes have more details about how to calculate the resource size. It also allows up to remove SizeOfExcludingThis() and SizeOfIncludingThis() from MediaResource.
Assignee: nobody → jwwang
Blocks: 1373160
Priority: -- → P3
This is also a step forward to remove MediaDecoder::GetResource() and make porting to Servo easier.
Blocks: servo-media
Attachment #8901672 - Flags: review?(gsquelart)
Attachment #8901673 - Flags: review?(gsquelart)
Comment on attachment 8901672 [details]
Bug 1393379. P1 - make MediaDecoder::AddSizeOfResources pure virtual.

https://reviewboard.mozilla.org/r/173098/#review178446
Attachment #8901672 - Flags: review?(gsquelart) → review+
Comment on attachment 8901673 [details]
Bug 1393379. P2 - remove MediaResource::SizeOfIncludingThis/SizeOfExcludingThis.

https://reviewboard.mozilla.org/r/173100/#review178448
Attachment #8901673 - Flags: review?(gsquelart) → review+
Thanks!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6683845d49b5
P1 - make MediaDecoder::AddSizeOfResources pure virtual. r=gerald
https://hg.mozilla.org/integration/autoland/rev/fdade67e7e78
P2 - remove MediaResource::SizeOfIncludingThis/SizeOfExcludingThis. r=gerald
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: