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

Unified Diff: media/capture/video/video_capture_device_client.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_capture_device_client.h
diff --git a/media/capture/video/video_capture_device_client.h b/media/capture/video/video_capture_device_client.h
index b36ebe5dd04245b972d4c7415d41b366f609c502..9a36f9d5425e58ae8c594ed103eb7633fdd56760 100644
--- a/media/capture/video/video_capture_device_client.h
+++ b/media/capture/video/video_capture_device_client.h
@@ -45,7 +45,7 @@ class CAPTURE_EXPORT VideoCaptureDeviceClient
public:
VideoCaptureDeviceClient(
std::unique_ptr<VideoFrameReceiver> receiver,
- const scoped_refptr<VideoCaptureBufferPool>& buffer_pool,
+ scoped_refptr<VideoCaptureBufferPool> buffer_pool,
const VideoCaptureJpegDecoderFactoryCB& jpeg_decoder_factory);
~VideoCaptureDeviceClient() override;
@@ -66,7 +66,7 @@ class CAPTURE_EXPORT VideoCaptureDeviceClient
base::TimeDelta timestamp) override;
void OnIncomingCapturedVideoFrame(
std::unique_ptr<Buffer> buffer,
- const scoped_refptr<media::VideoFrame>& frame) override;
+ scoped_refptr<media::VideoFrame> frame) override;
std::unique_ptr<Buffer> ResurrectLastOutputBuffer(
const gfx::Size& dimensions,
media::VideoPixelFormat format,

Powered by Google App Engine
This is Rietveld 408576698