media: StreamProvider/MediaStream using OnceClosure for init_cb.
The "initialization done" callbacks for both media::remoting::StreamProvider and media::remoting::MediaStream both used implicitly repeating closures, but only ever ran the callbacks once. Switching to base::OnceClosure. Bug: 1007810 Change-Id: I9431a6cca138e3e095b98d625bc94fcf97f7ce19 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881985Reviewed-by:Yuri Wiitala <miu@chromium.org> Commit-Queue: Chris Mumford <cmumford@google.com> Cr-Commit-Position: refs/heads/master@{#710068}
Showing
Please register or sign in to comment