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

Unified Diff: media/base/audio_renderer_mixer_input_unittest.cc

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: android 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/base/audio_renderer_mixer.cc ('k') | media/base/audio_renderer_mixer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_renderer_mixer_input_unittest.cc
diff --git a/media/base/audio_renderer_mixer_input_unittest.cc b/media/base/audio_renderer_mixer_input_unittest.cc
index b9a2c7b63fb7973274bec85e4687576968044294..814b8ede316c5c1e13a5c26722f3406477b35539 100644
--- a/media/base/audio_renderer_mixer_input_unittest.cc
+++ b/media/base/audio_renderer_mixer_input_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include <stddef.h>
+#include <memory>
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -99,10 +100,10 @@ class AudioRendererMixerInputTest : public testing::Test {
virtual ~AudioRendererMixerInputTest() {}
AudioParameters audio_parameters_;
- scoped_ptr<AudioRendererMixer> mixers_[2];
+ std::unique_ptr<AudioRendererMixer> mixers_[2];
scoped_refptr<AudioRendererMixerInput> mixer_input_;
- scoped_ptr<FakeAudioRenderCallback> fake_callback_;
- scoped_ptr<AudioBus> audio_bus_;
+ std::unique_ptr<FakeAudioRenderCallback> fake_callback_;
+ std::unique_ptr<AudioBus> audio_bus_;
private:
DISALLOW_COPY_AND_ASSIGN(AudioRendererMixerInputTest);
« no previous file with comments | « media/base/audio_renderer_mixer.cc ('k') | media/base/audio_renderer_mixer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698