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

Unified Diff: chromecast/media/cma/pipeline/audio_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/audio_pipeline_impl.cc
diff --git a/chromecast/media/cma/pipeline/audio_pipeline_impl.cc b/chromecast/media/cma/pipeline/audio_pipeline_impl.cc
index b8b91d7e2e37c75aaaeacea5314b23adb2dc71f4..1cc9f6934ee1277b16a82c05defbe15fa5258250 100644
--- a/chromecast/media/cma/pipeline/audio_pipeline_impl.cc
+++ b/chromecast/media/cma/pipeline/audio_pipeline_impl.cc
@@ -5,6 +5,7 @@
#include "chromecast/media/cma/pipeline/audio_pipeline_impl.h"
#include <stddef.h>
+#include <utility>
#include "base/bind.h"
#include "chromecast/media/cma/base/buffering_defs.h"
@@ -37,7 +38,7 @@ void AudioPipelineImpl::Initialize(
CMALOG(kLogControl) << __FUNCTION__ << " "
<< audio_config.AsHumanReadableString();
if (frame_provider) {
- SetCodedFrameProvider(frame_provider.Pass(), kAppAudioBufferSize,
+ SetCodedFrameProvider(std::move(frame_provider), kAppAudioBufferSize,
kMaxAudioFrameSize);
}

Powered by Google App Engine
This is Rietveld 408576698