summaryrefslogtreecommitdiffstats
path: root/remoting/host/capturer_fake.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/capturer_fake.cc')
-rw-r--r--remoting/host/capturer_fake.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/remoting/host/capturer_fake.cc b/remoting/host/capturer_fake.cc
index 9cf34d5..8f81b5b 100644
--- a/remoting/host/capturer_fake.cc
+++ b/remoting/host/capturer_fake.cc
@@ -68,13 +68,12 @@ void CapturerFake::InvalidateScreen(const gfx::Size& size) {
void CapturerFake::InvalidateFullScreen() {
helper.InvalidateFullScreen();
-
- GenerateImage();
}
void CapturerFake::CaptureInvalidRects(CaptureCompletedCallback* callback) {
scoped_ptr<CaptureCompletedCallback> callback_deleter(callback);
+ GenerateImage();
InvalidateScreen(size_);
InvalidRects inval_rects;