| Index: media/capture/content/video_capture_oracle.cc
|
| diff --git a/media/capture/content/video_capture_oracle.cc b/media/capture/content/video_capture_oracle.cc
|
| index e8dd752e9f453062f56c411acc9fc377176098e6..b1dcb80adeef3bd307a352afd04843d9f80b5ac5 100644
|
| --- a/media/capture/content/video_capture_oracle.cc
|
| +++ b/media/capture/content/video_capture_oracle.cc
|
| @@ -214,7 +214,11 @@ bool VideoCaptureOracle::ObserveEventAndDecideCapture(
|
| return true;
|
| }
|
|
|
| -int VideoCaptureOracle::RecordCapture(double pool_utilization) {
|
| +int VideoCaptureOracle::next_frame_number() const {
|
| + return next_frame_number_;
|
| +}
|
| +
|
| +void VideoCaptureOracle::RecordCapture(double pool_utilization) {
|
| DCHECK(std::isfinite(pool_utilization) && pool_utilization >= 0.0);
|
|
|
| smoothing_sampler_.RecordSample();
|
| @@ -227,7 +231,7 @@ int VideoCaptureOracle::RecordCapture(double pool_utilization) {
|
| }
|
|
|
| num_frames_pending_++;
|
| - return next_frame_number_++;
|
| + next_frame_number_++;
|
| }
|
|
|
| void VideoCaptureOracle::RecordWillNotCapture(double pool_utilization) {
|
|
|