diff options
Diffstat (limited to 'remoting/host/capturer.cc')
-rw-r--r-- | remoting/host/capturer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/host/capturer.cc b/remoting/host/capturer.cc index 0dd09ab..fe9cb30 100644 --- a/remoting/host/capturer.cc +++ b/remoting/host/capturer.cc @@ -49,7 +49,8 @@ void Capturer::InvalidateFullScreen(int width, int height) { } void Capturer::InvalidateFullScreen() { - InvalidateFullScreen(width_most_recent_, height_most_recent_); + if (width_most_recent_ && height_most_recent_) + InvalidateFullScreen(width_most_recent_, height_most_recent_); } void Capturer::CaptureInvalidRects(CaptureCompletedCallback* callback) { |