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

Unified Diff: media/audio/mac/audio_auhal_mac.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/mac/audio_auhal_mac.h
diff --git a/media/audio/mac/audio_auhal_mac.h b/media/audio/mac/audio_auhal_mac.h
index 2b2c39c4fe13372fb76417f4f0553436f9947f75..9d7298d93d8c35556dff0429dd9febb4736f6a34 100644
--- a/media/audio/mac/audio_auhal_mac.h
+++ b/media/audio/mac/audio_auhal_mac.h
@@ -178,11 +178,11 @@ class AUHALStream : public AudioOutputStream {
bool stopped_;
// Container for retrieving data from AudioSourceCallback::OnMoreData().
- scoped_ptr<AudioBus> output_bus_;
+ std::unique_ptr<AudioBus> output_bus_;
danakj 2016/04/22 22:47:36 include memory
dcheng 2016/04/22 23:13:20 Done.
// Dynamically allocated FIFO used when CoreAudio asks for unexpected frame
// sizes.
- scoped_ptr<AudioPullFifo> audio_fifo_;
+ std::unique_ptr<AudioPullFifo> audio_fifo_;
// Current buffer delay. Set by Render().
uint32_t current_hardware_pending_bytes_;

Powered by Google App Engine
This is Rietveld 408576698