[MediaStream] Construct track adapter lazily in MediaStreamVideoSource
This is a preparation CL to make GetWeakPtr() pure virtual. Since creating the track adapter requires a weak pointer to the source, it will not be possible to create it in the source constructor when GetWeakPtr becomes virtual. Bug: 1158227 Change-Id: I480d22da45632aacb227776c326a9f00135215f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2588908Reviewed-by:Elad Alon <eladalon@chromium.org> Commit-Queue: Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#837064}
Showing
Please register or sign in to comment