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