diff options
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/video_frame_capturer_mac.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/host/video_frame_capturer_mac.mm b/remoting/host/video_frame_capturer_mac.mm index edf1a87..ca85c0d 100644 --- a/remoting/host/video_frame_capturer_mac.mm +++ b/remoting/host/video_frame_capturer_mac.mm @@ -747,7 +747,9 @@ void VideoFrameCapturerMac::ScreenConfigurationChanged() { void VideoFrameCapturerMac::ScreenRefresh(CGRectCount count, const CGRect* rect_array) { - DCHECK(!desktop_bounds_.isEmpty()); + if (desktop_bounds_.isEmpty()) { + return; + } SkIRect skirect_array[count]; for (CGRectCount i = 0; i < count; ++i) { skirect_array[i] = CGRectToSkIRect(rect_array[i]); |