diff --git a/webrtc/modules/desktop_capture/win/dxgi_frame.cc b/webrtc/modules/desktop_capture/win/dxgi_frame.cc index 884c63aec8..d0af1f9349 100644 --- a/webrtc/modules/desktop_capture/win/dxgi_frame.cc +++ b/webrtc/modules/desktop_capture/win/dxgi_frame.cc @@ -36,7 +36,6 @@ bool DxgiFrame::Prepare(DesktopSize size, DesktopCapturer::SourceId source_id) { if (resolution_tracker_.SetResolution(size)) { // Once the output size changed, recreate the SharedDesktopFrame. frame_.reset(); - resolution_tracker_.Reset(); } if (!frame_) {