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

Unified Diff: media/audio/alsa/audio_manager_alsa.h

Issue 1911913002: Convert //media/audio from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast + windows build 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: media/audio/alsa/audio_manager_alsa.h
diff --git a/media/audio/alsa/audio_manager_alsa.h b/media/audio/alsa/audio_manager_alsa.h
index 5a6ebc1064b97ea437692a55d0c7420b37a04f56..19551215e4c23fbee79bcf1236d4505c95eed038 100644
--- a/media/audio/alsa/audio_manager_alsa.h
+++ b/media/audio/alsa/audio_manager_alsa.h
@@ -87,7 +87,7 @@ class MEDIA_EXPORT AudioManagerAlsa : public AudioManagerBase {
AudioInputStream* MakeInputStream(const AudioParameters& params,
const std::string& device_id);
- scoped_ptr<AlsaWrapper> wrapper_;
+ std::unique_ptr<AlsaWrapper> wrapper_;
danakj 2016/04/22 22:47:35 include memory
dcheng 2016/04/22 23:13:19 Done.
DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa);
};

Powered by Google App Engine
This is Rietveld 408576698