Uses member variable for the callback of RemoveTrack()
This CL puts the callback of RemoveTrack() to a member variable rather than passing as parameter to fix an issue that UserMediaClientImpl sometimes cannot process request after MediaStreamVideoSource dies. Bug: 972017, b/131272798 Test: Manually Change-Id: I04dc594b23ce981f3443996be4a5ac3538770211 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660394 Commit-Queue: Wei Lee <wtlee@chromium.org> Reviewed-by:Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#669588}
Showing
Please register or sign in to comment