Index: webrtc/modules/desktop_capture/fake_desktop_capturer.h |
diff --git a/webrtc/modules/desktop_capture/fake_desktop_capturer.h b/webrtc/modules/desktop_capture/fake_desktop_capturer.h |
index db53809ec579ac1cfdfadff0db42add52b3af3bb..fa5ccba7eb15c2e9b46dcd3c78ceb1ac7c684e9a 100644 |
--- a/webrtc/modules/desktop_capture/fake_desktop_capturer.h |
+++ b/webrtc/modules/desktop_capture/fake_desktop_capturer.h |
@@ -62,7 +62,7 @@ class FakeDesktopCapturer : public T { |
callback_ = callback; |
} |
- void Capture(const DesktopRegion& region) override { |
+ void CaptureFrame() override { |
if (generator_) { |
std::unique_ptr<DesktopFrame> frame( |
generator_->GetNextFrame(shared_memory_factory_.get())); |