DescriptionFix 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
Committed: https://crrev.com/0c4de568a632395ca12c57b0600d5d64b5fc91f1
Cr-Commit-Position: refs/heads/master@{#12077}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|