Replace scoped_ptr with unique_ptr in webrtc/modules/audio_device/

BUG=webrtc:5520

Review URL: https://codereview.webrtc.org/1722083002

Cr-Commit-Position: refs/heads/master@{#11740}
This commit is contained in:
kwiberg
2016-02-24 05:00:36 -08:00
committed by Commit bot
parent 58e08cbea8
commit f01633e667
24 changed files with 111 additions and 90 deletions

View File

@ -8,9 +8,10 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/base/format_macros.h"
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/audio_device/android/build_info.h"
#include "webrtc/modules/audio_device/android/audio_manager.h"
#include "webrtc/modules/audio_device/android/ensure_initialized.h"
@ -43,7 +44,7 @@ class AudioManagerTest : public ::testing::Test {
EXPECT_NE(0, audio_manager()->GetDelayEstimateInMilliseconds());
}
rtc::scoped_ptr<AudioManager> audio_manager_;
std::unique_ptr<AudioManager> audio_manager_;
AudioParameters playout_parameters_;
AudioParameters record_parameters_;
};