Index: webrtc/modules/desktop_capture/screen_capturer_mock_objects.h |
diff --git a/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h b/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h |
index 1f17e8c8be3e57b1caf53c5fe38d169ff5602708..7264249e0fb0c70403ece92b121b5b54e7678c13 100644 |
--- a/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h |
+++ b/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h |
@@ -36,13 +36,7 @@ |
MockScreenCapturerCallback() {} |
virtual ~MockScreenCapturerCallback() {} |
- MOCK_METHOD2(OnCaptureResultPtr, |
- void(DesktopCapturer::Result result, |
- std::unique_ptr<DesktopFrame>* frame)); |
- void OnCaptureResult(DesktopCapturer::Result result, |
- std::unique_ptr<DesktopFrame> frame) override { |
- OnCaptureResultPtr(result, &frame); |
- } |
+ MOCK_METHOD1(OnCaptureCompleted, void(DesktopFrame*)); |
private: |
RTC_DISALLOW_COPY_AND_ASSIGN(MockScreenCapturerCallback); |