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

Unified Diff: media/audio/fake_audio_output_stream.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
« no previous file with comments | « media/audio/fake_audio_log_factory.cc ('k') | media/audio/fake_audio_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/fake_audio_output_stream.h
diff --git a/media/audio/fake_audio_output_stream.h b/media/audio/fake_audio_output_stream.h
index a2564e9d1fb5973482900f2ce80170e085beec9c..d4a9adec9562c67c28f389b1de121a86b2212cdd 100644
--- a/media/audio/fake_audio_output_stream.h
+++ b/media/audio/fake_audio_output_stream.h
@@ -5,8 +5,9 @@
#ifndef MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_
#define MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "media/audio/audio_io.h"
#include "media/audio/fake_audio_worker.h"
#include "media/base/audio_parameters.h"
@@ -42,7 +43,7 @@ class MEDIA_EXPORT FakeAudioOutputStream : public AudioOutputStream {
AudioManagerBase* audio_manager_;
AudioSourceCallback* callback_;
FakeAudioWorker fake_worker_;
- scoped_ptr<AudioBus> audio_bus_;
+ std::unique_ptr<AudioBus> audio_bus_;
DISALLOW_COPY_AND_ASSIGN(FakeAudioOutputStream);
};
« no previous file with comments | « media/audio/fake_audio_log_factory.cc ('k') | media/audio/fake_audio_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698