| Index: webrtc/tools/frame_editing/frame_editing_lib.cc
|
| diff --git a/webrtc/tools/frame_editing/frame_editing_lib.cc b/webrtc/tools/frame_editing/frame_editing_lib.cc
|
| index 90855a354c039b440c86c914abad7e13af51f439..bb6a75edaab30e01850107de78a7ab6ea28bc8f1 100644
|
| --- a/webrtc/tools/frame_editing/frame_editing_lib.cc
|
| +++ b/webrtc/tools/frame_editing/frame_editing_lib.cc
|
| @@ -11,9 +11,9 @@
|
| #include <stdio.h>
|
| #include <stdlib.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| -#include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
|
| #include "webrtc/tools/frame_editing/frame_editing_lib.h"
|
| #include "webrtc/typedefs.h"
|
| @@ -39,7 +39,7 @@ int EditFrames(const string& in_path, int width, int height,
|
| // Frame size of I420.
|
| size_t frame_length = CalcBufferSize(kI420, width, height);
|
|
|
| - rtc::scoped_ptr<uint8_t[]> temp_buffer(new uint8_t[frame_length]);
|
| + std::unique_ptr<uint8_t[]> temp_buffer(new uint8_t[frame_length]);
|
|
|
| FILE* out_fid = fopen(out_path.c_str(), "wb");
|
|
|
|
|