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

Unified Diff: chromecast/media/cma/backend/alsa/audio_decoder_alsa.h

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
« no previous file with comments | « chromecast/media/cdm/browser_cdm_cast.cc ('k') | chromecast/media/cma/backend/alsa/cast_media_shlib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/backend/alsa/audio_decoder_alsa.h
diff --git a/chromecast/media/cma/backend/alsa/audio_decoder_alsa.h b/chromecast/media/cma/backend/alsa/audio_decoder_alsa.h
index 231eed0891ff6086ebc4aa205b2940ee6bec6e82..e0188605d73c2f173e0df66263c644a90f8bfb4f 100644
--- a/chromecast/media/cma/backend/alsa/audio_decoder_alsa.h
+++ b/chromecast/media/cma/backend/alsa/audio_decoder_alsa.h
@@ -74,12 +74,12 @@ class AudioDecoderAlsa : public MediaPipelineBackend::AudioDecoder,
bool error_;
AudioConfig config_;
- scoped_ptr<CastAudioDecoder> decoder_;
+ std::unique_ptr<CastAudioDecoder> decoder_;
int64_t current_pts_;
int64_t last_buffer_pts_;
- scoped_ptr<StreamMixerAlsaInput> mixer_input_;
+ std::unique_ptr<StreamMixerAlsaInput> mixer_input_;
RenderingDelay last_known_delay_;
float volume_multiplier_;
« no previous file with comments | « chromecast/media/cdm/browser_cdm_cast.cc ('k') | chromecast/media/cma/backend/alsa/cast_media_shlib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698