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 3705eadab1338eb332550c27e892d5001df1bbaf..6e2d0c4627f553396d38f5200963ef6bd1c59b1b 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) { |
@@ -60,7 +68,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_, |