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 |