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

Unified Diff: webrtc/modules/desktop_capture/window_capturer_win.cc

Issue 2433503002: Remove DesktopRegion parameter from DesktopCapturer::Capture (Closed)
Patch Set: Created 4 years, 2 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: 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 61de06cc93b6046792735b8415a7ee7fdbaa9515..4ffad31be4813a04c07e6202b953f84a5a5864a4 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 CaptureFrame() override;
+ void Capture() override;
private:
Callback* callback_ = nullptr;
@@ -160,7 +160,7 @@ void WindowCapturerWin::Start(Callback* callback) {
callback_ = callback;
}
-void WindowCapturerWin::CaptureFrame() {
+void WindowCapturerWin::Capture() {
if (!window_) {
LOG(LS_ERROR) << "Window hasn't been selected: " << GetLastError();
callback_->OnCaptureResult(Result::ERROR_PERMANENT, nullptr);

Powered by Google App Engine
This is Rietveld 408576698