summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test')
-rw-r--r--cc/test/fake_video_frame_provider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/fake_video_frame_provider.h b/cc/test/fake_video_frame_provider.h
index 4cbd80a..0b77f5d 100644
--- a/cc/test/fake_video_frame_provider.h
+++ b/cc/test/fake_video_frame_provider.h
@@ -25,8 +25,8 @@ class FakeVideoFrameProvider : public VideoFrameProvider {
Client* client() { return client_; }
- void set_frame(const scoped_refptr<media::VideoFrame>& frame) {
- frame_ = frame;
+ void set_frame(scoped_refptr<media::VideoFrame> frame) {
+ frame_ = std::move(frame);
}
int put_current_frame_count() const { return put_current_frame_count_; }