Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: remoting/host/screen_recorder.cc

Issue 10799013: Removing unused and private methods remoting::Capturer interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/screen_recorder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 --------------------------------------------------------------
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/screen_recorder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698