| Index: remoting/host/screen_recorder.cc
|
| diff --git a/remoting/host/screen_recorder.cc b/remoting/host/screen_recorder.cc
|
| index 52caeeb0d19b4d3b1028d314a433197267926e73..a6760e7cc6acb06566202a98165da1a4e564d64e 100644
|
| --- a/remoting/host/screen_recorder.cc
|
| +++ b/remoting/host/screen_recorder.cc
|
| @@ -250,7 +250,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 --------------------------------------------------------------
|
|
|