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

Unified Diff: webrtc/modules/desktop_capture/window_capturer_x11.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_x11.cc
diff --git a/webrtc/modules/desktop_capture/window_capturer_x11.cc b/webrtc/modules/desktop_capture/window_capturer_x11.cc
index e4a0917b9063dfd89a87eb906660d7d83040e409..ef7adf8145a544bfe88b118f89733cf0119d0e09 100644
--- a/webrtc/modules/desktop_capture/window_capturer_x11.cc
+++ b/webrtc/modules/desktop_capture/window_capturer_x11.cc
@@ -95,7 +95,7 @@ class WindowCapturerLinux : public WindowCapturer,
// DesktopCapturer interface.
void Start(Callback* callback) override;
- void CaptureFrame() override;
+ void Capture() override;
// SharedXDisplay::XEventHandler interface.
bool HandleXEvent(const XEvent& event) override;
@@ -271,7 +271,7 @@ void WindowCapturerLinux::Start(Callback* callback) {
callback_ = callback;
}
-void WindowCapturerLinux::CaptureFrame() {
+void WindowCapturerLinux::Capture() {
if (!x_server_pixel_buffer_.IsWindowValid()) {
LOG(LS_INFO) << "The window is no longer valid.";
callback_->OnCaptureResult(Result::ERROR_PERMANENT, nullptr);

Powered by Google App Engine
This is Rietveld 408576698