diff options
Diffstat (limited to 'media/video/capture/win/video_capture_device_win.cc')
-rw-r--r-- | media/video/capture/win/video_capture_device_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/video/capture/win/video_capture_device_win.cc b/media/video/capture/win/video_capture_device_win.cc index 13d4d48..48dd3da 100644 --- a/media/video/capture/win/video_capture_device_win.cc +++ b/media/video/capture/win/video_capture_device_win.cc @@ -590,10 +590,10 @@ bool VideoCaptureDeviceWin::CreateCapabilityMap() { return !capabilities_.empty(); } -void VideoCaptureDeviceWin::SetErrorState(const std::string& reason) { +void VideoCaptureDeviceWin::SetErrorState(const char* reason) { DCHECK(CalledOnValidThread()); DVLOG(1) << reason; state_ = kError; - client_->OnError(reason); + client_->OnError(); } } // namespace media |