| Index: media/capture/screen_capture_device_core.cc
|
| diff --git a/media/capture/screen_capture_device_core.cc b/media/capture/screen_capture_device_core.cc
|
| index c414f59fcba45c05c01a6d7d0d6033b88c7c8995..431fe402ecc046b180824cd29d63822a4a25be7a 100644
|
| --- a/media/capture/screen_capture_device_core.cc
|
| +++ b/media/capture/screen_capture_device_core.cc
|
| @@ -23,6 +23,14 @@ void DeleteCaptureMachine(
|
|
|
| } // namespace
|
|
|
| +VideoCaptureMachine::VideoCaptureMachine() {}
|
| +
|
| +VideoCaptureMachine::~VideoCaptureMachine() {}
|
| +
|
| +bool VideoCaptureMachine::IsAutoThrottlingEnabled() const {
|
| + return false;
|
| +}
|
| +
|
| void ScreenCaptureDeviceCore::AllocateAndStart(
|
| const VideoCaptureParams& params,
|
| scoped_ptr<VideoCaptureDevice::Client> client) {
|
| @@ -45,7 +53,8 @@ void ScreenCaptureDeviceCore::AllocateAndStart(
|
| return;
|
| }
|
|
|
| - oracle_proxy_ = new ThreadSafeCaptureOracle(client.Pass(), params);
|
| + oracle_proxy_ = new ThreadSafeCaptureOracle(
|
| + client.Pass(), params, capture_machine_->IsAutoThrottlingEnabled());
|
|
|
| capture_machine_->Start(
|
| oracle_proxy_,
|
|
|