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

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: 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
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 --------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698