Index: services/video_capture/mock_supported_formats_receiver.h |
diff --git a/services/video_capture/mock_supported_formats_receiver.h b/services/video_capture/mock_supported_formats_receiver.h |
index 62e83e107f88c24bbb8d9a7916638d45a7501b6d..66ab5cfe900b33ba7670749af5b49b62c4577264 100644 |
--- a/services/video_capture/mock_supported_formats_receiver.h |
+++ b/services/video_capture/mock_supported_formats_receiver.h |
@@ -17,13 +17,9 @@ class MockSupportedFormatsReceiver { |
MockSupportedFormatsReceiver(); |
~MockSupportedFormatsReceiver(); |
- // Use forwarding method to work around gmock not supporting move-only types. |
- void HandleGetSupportedFormatsCallback( |
- std::vector<mojom::VideoCaptureFormatPtr> formats); |
- |
MOCK_METHOD1( |
OnGetSupportedFormatsCallback, |
- void(const std::vector<mojom::VideoCaptureFormatPtr>&)); |
+ void(const std::vector<media::VideoCaptureFormat>&)); |
}; |
} // namespace video_capture |