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

Unified Diff: media/capture/video/video_capture_device.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.h
diff --git a/media/capture/video/video_capture_device.h b/media/capture/video/video_capture_device.h
index 24d6c369231c653f492fe908dee0354a05d5c7b3..000b0febdb94c274900fd734eaf616fecde209ba 100644
--- a/media/capture/video/video_capture_device.h
+++ b/media/capture/video/video_capture_device.h
@@ -119,7 +119,7 @@ class CAPTURE_EXPORT VideoCaptureDevice {
base::TimeDelta timestamp) = 0;
virtual void OnIncomingCapturedVideoFrame(
std::unique_ptr<Buffer> buffer,
- const scoped_refptr<VideoFrame>& frame) = 0;
+ scoped_refptr<VideoFrame> frame) = 0;
// Attempts to reserve the same Buffer provided in the last call to one of
// the OnIncomingCapturedXXX() methods. This will fail if the content of the

Powered by Google App Engine
This is Rietveld 408576698