diff options
author | perkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-16 19:12:37 +0000 |
---|---|---|
committer | perkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-16 19:12:37 +0000 |
commit | 7df9c4a44697111185101bbb072bba76cfb4ea2f (patch) | |
tree | 40b5ca06fb75e1d161a2f05a7b3480e91418ad35 /content/renderer | |
parent | a0eb47d1c442979d2a545d819debb39888cc3e52 (diff) | |
download | chromium_src-7df9c4a44697111185101bbb072bba76cfb4ea2f.zip chromium_src-7df9c4a44697111185101bbb072bba76cfb4ea2f.tar.gz chromium_src-7df9c4a44697111185101bbb072bba76cfb4ea2f.tar.bz2 |
Fix problem where a video frame buffer is freed while it is still in use.
BUG=230873, 231128
Review URL: https://codereview.chromium.org/14150004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer')
-rw-r--r-- | content/renderer/media/video_capture_impl.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc index a9ea005..7ee2a2e 100644 --- a/content/renderer/media/video_capture_impl.cc +++ b/content/renderer/media/video_capture_impl.cc @@ -330,7 +330,6 @@ void VideoCaptureImpl::DoStateChangedOnCaptureThread(VideoCaptureState state) { break; case VIDEO_CAPTURE_STATE_ENDED: DVLOG(1) << "OnStateChanged: ended!, device_id = " << device_id_; - STLDeleteValues(&cached_dibs_); for (ClientInfo::iterator it = clients_.begin(); it != clients_.end(); ++it) { it->first->OnRemoved(this); |