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 246ab1b5d396557259a98af9fa6c012ae9205419..be02b9a18714878e22d9074bc1f4d7ee04b064e4 100644 |
--- a/content/browser/media/capture/desktop_capture_device.cc |
+++ b/content/browser/media/capture/desktop_capture_device.cc |
@@ -315,7 +315,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) { |
// 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. |