Replace the DestroyDeviceInfo with a virtual destructor.

Review URL: http://webrtc-codereview.appspot.com/212005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@731 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
wu@webrtc.org
2011-10-12 16:57:53 +00:00
parent 38e400a967
commit 77d7d5455e
15 changed files with 10 additions and 45 deletions

View File

@@ -241,7 +241,7 @@ scoped_refptr<webrtc::VideoCaptureModule> Conductor::OpenVideoCaptureDevice() {
if (video_device.get())
break;
}
webrtc::VideoCaptureFactory::DestroyDeviceInfo(device_info);
delete device_info;
return video_device;
}