| Index: media/capture/content/screen_capture_device_core.cc
|
| diff --git a/media/capture/content/screen_capture_device_core.cc b/media/capture/content/screen_capture_device_core.cc
|
| index 88513f08003eec8bdaa4370178466f33a4728e9a..e5e5caa1a32ffbf023ff508e9b2d90916da7e49f 100644
|
| --- a/media/capture/content/screen_capture_device_core.cc
|
| +++ b/media/capture/content/screen_capture_device_core.cc
|
| @@ -125,6 +125,8 @@ void ScreenCaptureDeviceCore::CaptureStarted(bool success) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| if (!success)
|
| Error(FROM_HERE, "Failed to start capture machine.");
|
| + else if (oracle_proxy_)
|
| + oracle_proxy_->ReportStarted();
|
| }
|
|
|
| ScreenCaptureDeviceCore::ScreenCaptureDeviceCore(
|
| @@ -165,7 +167,7 @@ void ScreenCaptureDeviceCore::Error(const tracked_objects::Location& from_here,
|
| if (state_ == kIdle)
|
| return;
|
|
|
| - if (oracle_proxy_.get())
|
| + if (oracle_proxy_)
|
| oracle_proxy_->ReportError(from_here, reason);
|
|
|
| StopAndDeAllocate();
|
|
|