Check open-device callback before invoking in MediaStreamManager
This avoids invoking a null callback in case a device is opened more than once due to multiple open requests coming from the same renderer process. Bug: 821362 Change-Id: If55189b5f08c230f56925e2f8c810ec22a5ecd84 Reviewed-on: https://chromium-review.googlesource.com/973163Reviewed-by:Olga Sharonova <olka@chromium.org> Commit-Queue: Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#545023}
Showing
Please register or sign in to comment