commit | 73c1234f6aee9ec75074348b8eb3d346f8b64049 | [log] [tgz] |
---|---|---|
author | zijiehe <zijiehe@chromium.org> | Tue May 16 16:50:32 2017 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue May 16 23:50:32 2017 +0000 |
tree | 6436015d68caf0c92bb5d4e483bd870035313476 | |
parent | 9756238084707787f735e1294e896e462e459717 [diff] |
Add a DesktopRect::UnionWith() function to extend current instance to cover both instances 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}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.