Index: webrtc/test/configurable_frame_size_encoder.h |
diff --git a/webrtc/test/configurable_frame_size_encoder.h b/webrtc/test/configurable_frame_size_encoder.h |
index 3794e8db08897bdfa0b1821b0b251cd0d93086ae..0da5d20c15b27efc964f6b8392481c22e2ffb19f 100644 |
--- a/webrtc/test/configurable_frame_size_encoder.h |
+++ b/webrtc/test/configurable_frame_size_encoder.h |
@@ -11,6 +11,7 @@ |
#ifndef WEBRTC_TEST_CONFIGURABLE_FRAME_SIZE_ENCODER_H_ |
#define WEBRTC_TEST_CONFIGURABLE_FRAME_SIZE_ENCODER_H_ |
+#include <memory> |
#include <vector> |
#include "webrtc/base/scoped_ptr.h" |
@@ -49,7 +50,7 @@ class ConfigurableFrameSizeEncoder : public VideoEncoder { |
EncodedImageCallback* callback_; |
const size_t max_frame_size_; |
size_t current_frame_size_; |
- rtc::scoped_ptr<uint8_t[]> buffer_; |
+ std::unique_ptr<uint8_t[]> buffer_; |
}; |
} // namespace test |