DescriptionUse rtc::scoped_refptr for WebRtcVideoCapturer.
Un-breaks peerconnection_client which would instantly use-after-free on
an allocated VCM because it wasn't building a scoped_refptr so all
references to the VCM were dropped.
BUG=webrtc:5229
TBR=tommi@webrtc.org
TEST=Run peerconnection_client locally, verify that there's no crash.
Committed: https://chromium.googlesource.com/external/webrtc/+/09c3a1e291ed5a59d9c6f54b9ea5a7c2e2acec5c
Patch Set 1 #Patch Set 2 : remove incorrect early return #
Messages
Total messages: 14 (6 generated)
|