MSE-in-Workers: Drop unused attachment interface methods
This change drops two unnecessary methods from the MediaSourceAttachment interface: 1) As of r680382, HTMLMediaElement no longer needs the Oilpan/GarbageCollected TimeRanges version of Buffered() from the MediaSource API. Rather, it constructs its own TimeRanges when needed by consulting the underlying WebTimeRanges produced by BufferedInternal. 2) Also, when creating the core attachment interface and removing the core MediaSource interface, the duration() method was unnecessarily included in the attachment. Even before this MSE-in-Workers feature work, duration notification updates (where the media element is notified that the underlying MSE resource's duration has changed) did not involve this method. This change also includes some minor clean-ups of the modules/mediasource attachment includes. BUG=878133 Change-Id: I125f9db2bf1383c2eafb312225e3f843371a744f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402169 Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by:Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/master@{#807289}
Showing
Please register or sign in to comment