| Index: content/browser/media/capture/content_video_capture_device_core.cc
|
| diff --git a/content/browser/media/capture/content_video_capture_device_core.cc b/content/browser/media/capture/content_video_capture_device_core.cc
|
| index 106852e55cdabfabcbfee379bde38aba5d414fb1..f0499a23c221630a14209ebad1074c17ce4e6a3e 100644
|
| --- a/content/browser/media/capture/content_video_capture_device_core.cc
|
| +++ b/content/browser/media/capture/content_video_capture_device_core.cc
|
| @@ -155,7 +155,8 @@ void ThreadSafeCaptureOracle::UpdateCaptureSize(const gfx::Size& source_size) {
|
| // If this is the first call to UpdateCaptureSize(), or the receiver supports
|
| // variable resolution, then determine the capture size by treating the
|
| // requested width and height as maxima.
|
| - if (!capture_size_updated_ || params_.allow_resolution_change) {
|
| + if (!capture_size_updated_ || params_.resolution_change_policy ==
|
| + media::RESOLUTION_POLICY_DYNAMIC_WITHIN_LIMIT) {
|
| // The capture resolution should not exceed the source frame size.
|
| // In other words it should downscale the image but not upscale it.
|
| if (source_size.width() > params_.requested_format.frame_size.width() ||
|
|
|