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

Unified Diff: chromecast/media/cma/pipeline/video_pipeline_impl.cc

Issue 1553503002: Convert Pass()→std::move() in //chromecast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: chromecast/media/cma/pipeline/video_pipeline_impl.cc
diff --git a/chromecast/media/cma/pipeline/video_pipeline_impl.cc b/chromecast/media/cma/pipeline/video_pipeline_impl.cc
index e4cab6bfec4c491dd2a5076a6d1b626f4df6f60a..89a9c337a3d9029d9b3f614716c47e13df36e6ed 100644
--- a/chromecast/media/cma/pipeline/video_pipeline_impl.cc
+++ b/chromecast/media/cma/pipeline/video_pipeline_impl.cc
@@ -5,6 +5,7 @@
#include "chromecast/media/cma/pipeline/video_pipeline_impl.h"
#include <stddef.h>
+#include <utility>
#include "base/bind.h"
#include "chromecast/media/cdm/browser_cdm_cast.h"
@@ -47,7 +48,7 @@ void VideoPipelineImpl::Initialize(
}
if (frame_provider) {
- SetCodedFrameProvider(frame_provider.Pass(), kAppVideoBufferSize,
+ SetCodedFrameProvider(std::move(frame_provider), kAppVideoBufferSize,
kMaxVideoFrameSize);
}
« no previous file with comments | « chromecast/media/cma/pipeline/media_pipeline_impl.cc ('k') | chromecast/media/cma/test/frame_generator_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698