Chromium Code Reviews| Index: content/browser/media/capture/desktop_capture_device.cc |
| diff --git a/content/browser/media/capture/desktop_capture_device.cc b/content/browser/media/capture/desktop_capture_device.cc |
| index 930b752159408de76259fbcd81318ccf0d4b872b..a2258f2c9994bb2371f7f634ed0fe1306de35c3a 100644 |
| --- a/content/browser/media/capture/desktop_capture_device.cc |
| +++ b/content/browser/media/capture/desktop_capture_device.cc |
| @@ -306,7 +306,8 @@ void DesktopCaptureDevice::Core::RefreshCaptureFormat( |
| output_frame_.reset(); |
| if (previous_frame_size_.is_empty() || |
| - requested_params_.allow_resolution_change) { |
| + requested_params_.resolution_change_policy == |
| + media::RESOLUTION_POLICY_DYNAMIC_WITHIN_LIMIT) { |
|
perkj_chrome
2014/09/07 14:07:09
dito
|
| // If this is the first frame, or the receiver supports variable resolution |
| // then determine the output size by treating the requested width & height |
| // as maxima. |