| Index: content/browser/renderer_host/media/web_contents_video_capture_device.cc
|
| diff --git a/content/browser/renderer_host/media/web_contents_video_capture_device.cc b/content/browser/renderer_host/media/web_contents_video_capture_device.cc
|
| index 9fcd0ed33711a461866916dd1b3a699e9993a3a3..52be61a089101fd2766239501ea1372e061fceb2 100644
|
| --- a/content/browser/renderer_host/media/web_contents_video_capture_device.cc
|
| +++ b/content/browser/renderer_host/media/web_contents_video_capture_device.cc
|
| @@ -1123,9 +1123,9 @@ void WebContentsVideoCaptureDevice::Impl::Start() {
|
| void WebContentsVideoCaptureDevice::Impl::AssignCaptureMachine(
|
| base::WeakPtr<WebContentsVideoCaptureDevice::Impl> impl,
|
| scoped_ptr<CaptureMachine> capture_machine) {
|
| - DCHECK(!impl || impl->thread_checker_.CalledOnValidThread());
|
| + DCHECK(!impl.get() || impl->thread_checker_.CalledOnValidThread());
|
|
|
| - if (!impl) {
|
| + if (!impl.get()) {
|
| // If WCVD::Impl was destroyed before we got back on it's thread and
|
| // capture_machine is not NULL, then we need to return to the UI thread to
|
| // safely cleanup the CaptureMachine.
|
|
|