| Index: remoting/host/screen_recorder.cc
|
| diff --git a/remoting/host/screen_recorder.cc b/remoting/host/screen_recorder.cc
|
| index 20b305a9de9f5e541a71ceb303fcb2bc2d825e05..d61e9a9d72fbdae2c21f21d60243e988c5e58640 100644
|
| --- a/remoting/host/screen_recorder.cc
|
| +++ b/remoting/host/screen_recorder.cc
|
| @@ -249,7 +249,10 @@ void ScreenRecorder::DoFinishOneRecording() {
|
| void ScreenRecorder::DoInvalidateFullScreen() {
|
| DCHECK(capture_task_runner_->BelongsToCurrentThread());
|
|
|
| - capturer_->InvalidateFullScreen();
|
| + SkRegion region;
|
| + region.op(SkIRect::MakeSize(capturer_->size_most_recent()),
|
| + SkRegion::kUnion_Op);
|
| + capturer_->InvalidateRegion(region);
|
| }
|
|
|
| // Network thread --------------------------------------------------------------
|
|
|