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

Unified Diff: chromecast/media/cma/decoder/cast_audio_decoder_android.cc

Issue 1875623002: Convert //chromecast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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/decoder/cast_audio_decoder_android.cc
diff --git a/chromecast/media/cma/decoder/cast_audio_decoder_android.cc b/chromecast/media/cma/decoder/cast_audio_decoder_android.cc
index 669c688b8d503d6256c4e7a40ce771c65c64f0b9..d0112809432920b7fea14ca3a886e2b4a6d8e5d4 100644
--- a/chromecast/media/cma/decoder/cast_audio_decoder_android.cc
+++ b/chromecast/media/cma/decoder/cast_audio_decoder_android.cc
@@ -10,12 +10,12 @@ namespace chromecast {
namespace media {
// static
-scoped_ptr<CastAudioDecoder> CastAudioDecoder::Create(
+std::unique_ptr<CastAudioDecoder> CastAudioDecoder::Create(
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
const media::AudioConfig& config,
OutputFormat output_format,
const InitializedCallback& initialized_callback) {
- return scoped_ptr<CastAudioDecoder>();
+ return std::unique_ptr<CastAudioDecoder>();
}
// static
« no previous file with comments | « chromecast/media/cma/decoder/cast_audio_decoder.h ('k') | chromecast/media/cma/decoder/cast_audio_decoder_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698