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

Unified Diff: media/audio/mac/audio_input_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: . 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_input_mac.h
diff --git a/media/audio/mac/audio_input_mac.h b/media/audio/mac/audio_input_mac.h
index 5d5400412ff25bacb872afb4927aea34e591b65d..1c0d58be5feeb0e29b7efd5f6fc40bd1441731ac 100644
--- a/media/audio/mac/audio_input_mac.h
+++ b/media/audio/mac/audio_input_mac.h
@@ -9,6 +9,8 @@
#include <AudioToolbox/AudioQueue.h>
#include <stdint.h>
+#include <memory>
+
#include "base/cancelable_callback.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
@@ -87,7 +89,7 @@ class PCMQueueInAudioInputStream : public AudioInputStream {
// Used to defer Start() to workaround http://crbug.com/160920.
base::CancelableClosure deferred_start_cb_;
- scoped_ptr<media::AudioBus> audio_bus_;
+ std::unique_ptr<media::AudioBus> audio_bus_;
DISALLOW_COPY_AND_ASSIGN(PCMQueueInAudioInputStream);
};
« no previous file with comments | « media/audio/mac/audio_device_listener_mac_unittest.cc ('k') | media/audio/mac/audio_low_latency_input_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698