commit | 0c4de568a632395ca12c57b0600d5d64b5fc91f1 | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <sergeyu@chromium.org> | Mon Mar 21 18:18:42 2016 |
committer | Sergey Ulanov <sergeyu@chromium.org> | Mon Mar 21 18:18:53 2016 |
tree | 9fe2e5a3c0058c625ea4187182ee92dba7ac0b92 | |
parent | 121ac122b99cb3df084b5bd4132ec7c0dcc3045f [diff] |
Fix potential crashes in the screen capturer on Mac ScreenCapturerMac wasn't handling the following two cases properly which could cause crashes: 1. CGDisplayCreateImage() returns image with depth other than 32-bit 2. CGDisplayCreateImage() returns image with dimensions different from expected (e.g. when screen resolution is being changed). I suspect that (2) was causing the linked bug. BUG=crbug.com/504927 R=jiayl@webrtc.org Review URL: https://codereview.webrtc.org/1816723002 . Cr-Commit-Position: refs/heads/master@{#12077}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.