diff options
Diffstat (limited to 'chromium/third_party/webrtc/tools/frame_editing/frame_editing_unittest.cc')
-rw-r--r-- | chromium/third_party/webrtc/tools/frame_editing/frame_editing_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/webrtc/tools/frame_editing/frame_editing_unittest.cc b/chromium/third_party/webrtc/tools/frame_editing/frame_editing_unittest.cc index 83302181fb5..bdcc2f21f51 100644 --- a/chromium/third_party/webrtc/tools/frame_editing/frame_editing_unittest.cc +++ b/chromium/third_party/webrtc/tools/frame_editing/frame_editing_unittest.cc @@ -53,8 +53,8 @@ class FrameEditingTest : public ::testing::Test { } // Compares the frames in both streams to the end of one of the streams. void CompareToTheEnd(FILE* test_video_fid, FILE* ref_video_fid, - scoped_array<int>* ref_buffer, - scoped_array<int>* test_buffer) { + scoped_ptr<int[]>* ref_buffer, + scoped_ptr<int[]>* test_buffer) { while (!feof(test_video_fid) && !feof(ref_video_fid)) { num_bytes_read_ = fread(ref_buffer->get(), 1, kFrameSize, ref_video_fid); if (!feof(ref_video_fid)) { @@ -78,8 +78,8 @@ class FrameEditingTest : public ::testing::Test { FILE* original_fid_; FILE* edited_fid_; int num_bytes_read_; - scoped_array<int> original_buffer_; - scoped_array<int> edited_buffer_; + scoped_ptr<int[]> original_buffer_; + scoped_ptr<int[]> edited_buffer_; int num_frames_read_; }; |