Index: remoting/host/host_mock_objects.h |
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h |
index 7696dbd3ac96fd40761758cabc2afa518dbbe9f3..5dbdd7ba43bd768e847f0c5b308a81c2ffc64e68 100644 |
--- a/remoting/host/host_mock_objects.h |
+++ b/remoting/host/host_mock_objects.h |
@@ -30,7 +30,8 @@ class MockCapturer : public Capturer { |
MOCK_METHOD1(InvalidateRegion, void(const SkRegion& invalid_region)); |
MOCK_METHOD1(InvalidateScreen, void(const SkISize&)); |
MOCK_METHOD0(InvalidateFullScreen, void()); |
- MOCK_METHOD1(CaptureInvalidRegion, void(CaptureCompletedCallback* callback)); |
+ MOCK_METHOD1(CaptureInvalidRegion, |
+ void(const CaptureCompletedCallback& callback)); |
MOCK_CONST_METHOD0(size_most_recent, const SkISize&()); |
private: |