Make MediaCapabilities a Supplement<NavigatorBase>
NavigatorBase is a newly-added base class for Navigator and WorkerNavigator. Making MediaCapabilities a Supplement of NavigatorBase allows a single class to handle all of the work of exposing the navigator.mediaCapabilities getter for both windows and workers, and greatly reduces boilerplate. Bug: 1147612 Change-Id: I06f0e138a2be9ce0cd170e43c7997cd69340de24 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2537780 Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#827969}
Showing
Please register or sign in to comment