Index: webrtc/modules/desktop_capture/window_capturer_win.cc |
diff --git a/webrtc/modules/desktop_capture/window_capturer_win.cc b/webrtc/modules/desktop_capture/window_capturer_win.cc |
index c7c312a17e957b3d132ed00ec7ab6c2f4a1e3cf0..61de06cc93b6046792735b8415a7ee7fdbaa9515 100644 |
--- a/webrtc/modules/desktop_capture/window_capturer_win.cc |
+++ b/webrtc/modules/desktop_capture/window_capturer_win.cc |
@@ -92,7 +92,7 @@ class WindowCapturerWin : public WindowCapturer { |
// DesktopCapturer interface. |
void Start(Callback* callback) override; |
- void Capture(const DesktopRegion& region) override; |
+ void CaptureFrame() override; |
private: |
Callback* callback_ = nullptr; |
@@ -160,7 +160,7 @@ void WindowCapturerWin::Start(Callback* callback) { |
callback_ = callback; |
} |
-void WindowCapturerWin::Capture(const DesktopRegion& region) { |
+void WindowCapturerWin::CaptureFrame() { |
if (!window_) { |
LOG(LS_ERROR) << "Window hasn't been selected: " << GetLastError(); |
callback_->OnCaptureResult(Result::ERROR_PERMANENT, nullptr); |