Chromium Code Reviews
DescriptionFix DesktopCapturer constructors to handle failures properly.
CreateRawScreenCapturer() and CreateRawWindowCapturer() in
DesktopCapturer are allowed to return nullptr when capturer cannot be
initialized for some reason. CreateWindowCapturer() and
CreateScreenCapturer() in DesktopCapturer were not handling this case
correctly, which may lead to crash.
BUG=chromium:702745
Review-Url: https://codereview.webrtc.org/2754403002
Cr-Commit-Position: refs/heads/master@{#17298}
Committed: https://chromium.googlesource.com/external/webrtc/+/3eba2d82737932660aae18fe4ad169414a3c3313
Patch Set 1 #
Messages
Total messages: 16 (9 generated)
|
|||||||||||||||||||