Make sure webrtc::VideoSource is released when WebRtcVideoTrackAdapter is destroyed.
commit2448e5931dfce879d4420b01d53c9840c8f4ac08
authorperkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 30 May 2014 17:46:30 +0000 (30 17:46 +0000)
committerperkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 30 May 2014 17:46:30 +0000 (30 17:46 +0000)
tree5d42fd7b736ffd9ef4888b06039f430afe0eefdd
parenta51e8bb6c0a7970fb3e9fc1987718f6cf8f8d84c
Make sure webrtc::VideoSource is released when WebRtcVideoTrackAdapter is destroyed.
This is to ensure that the webrtc::VideoSource is destroyed before the PeerConnectionFactory is destroyed in RenderThreadImpl::ShutDown.

COLLABORATOR=tommi@chromium.org
BUG=378179

Review URL: https://codereview.chromium.org/299313011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273869 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/media/webrtc/webrtc_video_track_adapter.cc