Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(818)

Unified Diff: content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc

Issue 2613793007: Revert of [Mojo Video Capture] Simplify media::VideoCaptureDevice::Client:Buffer to a struct (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc
diff --git a/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc b/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc
index d9f4a3f0cfa3fc1e0f53506c16f81af63f47567d..a4a46c2e67e4af9c8b130959ce079501af8506c8 100644
--- a/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc
+++ b/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc
@@ -15,7 +15,7 @@
VideoFrameReceiverOnIOThread::~VideoFrameReceiverOnIOThread() = default;
void VideoFrameReceiverOnIOThread::OnIncomingCapturedVideoFrame(
- media::VideoCaptureDevice::Client::Buffer buffer,
+ std::unique_ptr<media::VideoCaptureDevice::Client::Buffer> buffer,
scoped_refptr<media::VideoFrame> frame) {
content::BrowserThread::PostTask(
content::BrowserThread::IO, FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698