Index: media/video/capture/video_capture_types.cc |
diff --git a/media/video/capture/video_capture_types.cc b/media/video/capture/video_capture_types.cc |
index 17f2d654c6193e697b8dbc9a188bcaa099d4e74d..4ab45650f2a7246a5f92b85cf66a364b133c31a6 100644 |
--- a/media/video/capture/video_capture_types.cc |
+++ b/media/video/capture/video_capture_types.cc |
@@ -61,4 +61,12 @@ std::string VideoCaptureFormat::PixelFormatToString(VideoPixelFormat format) { |
VideoCaptureParams::VideoCaptureParams() : allow_resolution_change(false) {} |
+ImageCaptureFormat::ImageCaptureFormat() : pixel_format(PIXEL_FORMAT_UNKNOWN) { |
+} |
+ |
+ImageCaptureFormat::ImageCaptureFormat(const gfx::Size& frame_size, |
+ VideoPixelFormat pixel_format) |
+ : frame_size(frame_size), pixel_format(pixel_format) { |
+} |
+ |
} // namespace media |