| Index: media/video/capture/video_capture_device.h
|
| diff --git a/media/video/capture/video_capture_device.h b/media/video/capture/video_capture_device.h
|
| index c02dcc1a4b4245f5bae5940f42fe842a7fbb8039..a3cabad1e7f2b734d2eeb9d56de1b76685a635ed 100644
|
| --- a/media/video/capture/video_capture_device.h
|
| +++ b/media/video/capture/video_capture_device.h
|
| @@ -180,8 +180,8 @@ class MEDIA_EXPORT VideoCaptureDevice {
|
| int frame_rate) = 0;
|
|
|
| // An error has occurred that cannot be handled and VideoCaptureDevice must
|
| - // be StopAndDeAllocate()-ed.
|
| - virtual void OnError() = 0;
|
| + // be StopAndDeAllocate()-ed. |reason| is a text description of the error.
|
| + virtual void OnError(const std::string& reason) = 0;
|
| };
|
|
|
| // Creates a VideoCaptureDevice object.
|
|
|