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

Unified Diff: chromecast/media/cma/decoder/cast_audio_decoder_linux.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
« no previous file with comments | « chromecast/media/cma/base/decoder_buffer_base.h ('k') | chromecast/media/cma/ipc/media_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/decoder/cast_audio_decoder_linux.cc
diff --git a/chromecast/media/cma/decoder/cast_audio_decoder_linux.cc b/chromecast/media/cma/decoder/cast_audio_decoder_linux.cc
index b635764eeda1c00dd71ef398388059f9bb64312f..b5b0396325792992b541c5e5213a6e3ea6f1968a 100644
--- a/chromecast/media/cma/decoder/cast_audio_decoder_linux.cc
+++ b/chromecast/media/cma/decoder/cast_audio_decoder_linux.cc
@@ -5,9 +5,9 @@
#include "chromecast/media/cma/decoder/cast_audio_decoder.h"
#include <stdint.h>
-
#include <limits>
#include <queue>
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -276,7 +276,7 @@ scoped_ptr<CastAudioDecoder> CastAudioDecoder::Create(
scoped_ptr<CastAudioDecoderImpl> decoder(new CastAudioDecoderImpl(
task_runner, initialized_callback, output_format));
decoder->Initialize(config);
- return decoder.Pass();
+ return std::move(decoder);
}
// static
« no previous file with comments | « chromecast/media/cma/base/decoder_buffer_base.h ('k') | chromecast/media/cma/ipc/media_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698