| Index: webrtc/common_audio/channel_buffer.h
|
| diff --git a/webrtc/common_audio/channel_buffer.h b/webrtc/common_audio/channel_buffer.h
|
| index 9f2fb9635715fa0fc3cf5cf7a198c89b2e9367a1..faecec9194ceb86be1d37104e24e7ad0a6915048 100644
|
| --- a/webrtc/common_audio/channel_buffer.h
|
| +++ b/webrtc/common_audio/channel_buffer.h
|
| @@ -13,9 +13,10 @@
|
|
|
| #include <string.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "webrtc/base/checks.h"
|
| #include "webrtc/base/gtest_prod_util.h"
|
| -#include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/common_audio/include/audio_util.h"
|
|
|
| namespace webrtc {
|
| @@ -125,9 +126,9 @@ class ChannelBuffer {
|
| }
|
|
|
| private:
|
| - rtc::scoped_ptr<T[]> data_;
|
| - rtc::scoped_ptr<T* []> channels_;
|
| - rtc::scoped_ptr<T* []> bands_;
|
| + std::unique_ptr<T[]> data_;
|
| + std::unique_ptr<T* []> channels_;
|
| + std::unique_ptr<T* []> bands_;
|
| const size_t num_frames_;
|
| const size_t num_frames_per_band_;
|
| const size_t num_channels_;
|
|
|