MSE-in-Workers: Passkey-restrict STMSAttachment ctor
Uses a util::PassKey<URLMediaSource> instance to statically ensure that only a URLMediaSource can construct that passkey, and therefore can control that it is the only creator of a SameThreadMediaSourceAttachment. BUG=878133 Change-Id: I50bd7669a68113478b42950e74a59c9112623794 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2427207 Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by:Will Cassella <cassew@google.com> Cr-Commit-Position: refs/heads/master@{#809960}
Showing
Please register or sign in to comment