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

Unified Diff: media/capture/video/video_frame_receiver.h

Issue 2490153003: [Mojo Video Capture] Replace const scoped_refptr<T>& with scoped_refptr<T> and use std::move (Closed)
Patch Set: fix bots Created 4 years, 1 month 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: media/capture/video/video_frame_receiver.h
diff --git a/media/capture/video/video_frame_receiver.h b/media/capture/video/video_frame_receiver.h
index df2dabc8e905eae6e79899f9669d84056c39463b..b2af10c614e4026ea2d81931c628b5a93cf2726c 100644
--- a/media/capture/video/video_frame_receiver.h
+++ b/media/capture/video/video_frame_receiver.h
@@ -15,7 +15,7 @@ class CAPTURE_EXPORT VideoFrameReceiver {
virtual void OnIncomingCapturedVideoFrame(
std::unique_ptr<media::VideoCaptureDevice::Client::Buffer> buffer,
- const scoped_refptr<media::VideoFrame>& frame) = 0;
+ scoped_refptr<media::VideoFrame> frame) = 0;
virtual void OnError() = 0;
virtual void OnLog(const std::string& message) = 0;
virtual void OnBufferDestroyed(int buffer_id_to_drop) = 0;

Powered by Google App Engine
This is Rietveld 408576698