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

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

Issue 2433503002: Remove DesktopRegion parameter from DesktopCapturer::Capture (Closed)
Patch Set: Resolve review comments 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/screen_capturer_mac_unittest.cc
diff --git a/webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc b/webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc
index 003f4dba54c61eb6e323221f4f296ec8067dc851..e764492b3ac9358215a3481da258ee2dc0d7ef89 100644
--- a/webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc
+++ b/webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc
@@ -93,10 +93,10 @@ TEST_F(ScreenCapturerMacTest, Capture) {
capturer_->Start(&callback_);
// Check that we get an initial full-screen updated.
- capturer_->Capture(DesktopRegion());
+ capturer_->CaptureFrame();
// Check that subsequent dirty rects are propagated correctly.
- capturer_->Capture(DesktopRegion());
+ capturer_->CaptureFrame();
}
} // namespace webrtc
« no previous file with comments | « webrtc/modules/desktop_capture/desktop_capturer.h ('k') | webrtc/modules/desktop_capture/screen_capturer_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698