DescriptionRefactor VideoCapturerDelegate to use WeakPtr instead of refcount.
The reason is to fix a problem where the delegate could be deleted on the IO-thread instead of the main render thread.
BUG=444177
Committed: https://crrev.com/60cd512c159e730fe2f2998a828bfa6727dd1785
Cr-Commit-Position: refs/heads/master@{#310776}
Patch Set 1 #Patch Set 2 : Cleaned up tests a bit. #Patch Set 3 : And make it right. #
Total comments: 4
Patch Set 4 : Addressed comments. #Patch Set 5 : Fix source_formats_callback_.reset #
Messages
Total messages: 13 (5 generated)
|