commit | d41af462fb11a4854e25a84bb0d27b8c3fdd5519 | [log] [tgz] |
---|---|---|
author | zijiehe <zijiehe@chromium.org> | Thu Apr 20 14:53:36 2017 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 20 21:53:36 2017 +0000 |
tree | 9a74e94f724278529436e8bf212be87a426ce393 | |
parent | d07061c9f3ac5b0514ba02376d5a3ef471d2638b [diff] |
This change fixes a crash issue in WindowCapturerWin. The issue and fix are both obvious, WindowCapturerWin should not return Result::SUCCESS with an empty frame. This issue was original introduced into the code base in change https://codereview.webrtc.org/1988783003/. I am also considering whether we should move the previous_size_ = frame->size(); window_size_map_[window_] = previous_size_; into the true branch. But since this change needs to be merged into M58 and M59, I would prefer to keep it as small as possible. BUG=712615 Review-Url: https://codereview.webrtc.org/2835553002 Cr-Commit-Position: refs/heads/master@{#17799}
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.