Index: content/browser/renderer_host/media/video_capture_controller_event_handler.h |
diff --git a/content/browser/renderer_host/media/video_capture_controller_event_handler.h b/content/browser/renderer_host/media/video_capture_controller_event_handler.h |
index b8a8a82bdf3884d44b2a658c39ea15bac083008a..301070cceaeddfb458131c7edae4349f59f45ba2 100644 |
--- a/content/browser/renderer_host/media/video_capture_controller_event_handler.h |
+++ b/content/browser/renderer_host/media/video_capture_controller_event_handler.h |
@@ -9,6 +9,7 @@ |
#include "base/memory/shared_memory.h" |
#include "content/common/content_export.h" |
+#include "content/common/video_capture.mojom.h" |
#include "mojo/public/cpp/system/buffer.h" |
#include "ui/gfx/geometry/size.h" |
@@ -40,9 +41,10 @@ class CONTENT_EXPORT VideoCaptureControllerEventHandler { |
int buffer_id) = 0; |
// A buffer has been filled with a captured VideoFrame. |
- virtual void OnBufferReady(VideoCaptureControllerID id, |
- int buffer_id, |
- const scoped_refptr<media::VideoFrame>& frame) = 0; |
+ virtual void OnBufferReady( |
+ VideoCaptureControllerID id, |
+ int buffer_id, |
+ const media::mojom::VideoFrameInfoPtr& frame_info) = 0; |
// The capture session has ended and no more frames will be sent. |
virtual void OnEnded(VideoCaptureControllerID id) = 0; |