This small piece of logic is duplicated in DxgiDuplicatorController, DxgiAdapterDuplicator and desktop_configuration.mm. Meanwhile, the implementation in desktop_configuration.mm is not safe. So I think a function in DesktopRect to cover the requirement could be more efficient and safer. BUG=webrtc:7541 Review-Url: https://codereview.webrtc.org/2845213002 Cr-Commit-Position: refs/heads/master@{#18171}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.