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

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

Issue 2409833002: Remove DesktopRegion parameter in 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_null.cc
diff --git a/webrtc/modules/desktop_capture/window_capturer_null.cc b/webrtc/modules/desktop_capture/window_capturer_null.cc
index 3fe21cf7189322e1c1e5fb0d516ba531d8a1bfb6..39fcc3d3e2ef75feea4c8148f463f80fd6e6d24b 100755
--- a/webrtc/modules/desktop_capture/window_capturer_null.cc
+++ b/webrtc/modules/desktop_capture/window_capturer_null.cc
@@ -31,7 +31,7 @@ class WindowCapturerNull : public WindowCapturer {
// DesktopCapturer interface.
void Start(Callback* callback) override;
- void Capture(const DesktopRegion& region) override;
+ void Capture2() override;
private:
Callback* callback_ = nullptr;
@@ -64,7 +64,7 @@ void WindowCapturerNull::Start(Callback* callback) {
callback_ = callback;
}
-void WindowCapturerNull::Capture(const DesktopRegion& region) {
+void WindowCapturerNull::Capture2() {
// Not implemented yet.
callback_->OnCaptureResult(Result::ERROR_TEMPORARY, nullptr);
}

Powered by Google App Engine
This is Rietveld 408576698