| Index: webrtc/media/base/videoframe_unittest.h
|
| diff --git a/webrtc/media/base/videoframe_unittest.h b/webrtc/media/base/videoframe_unittest.h
|
| index f19d0325d6a103b5e2f87d68fbcc21ac1ab0b10f..13fb790c1a71dc2606516e0f8dd9538652d549b6 100644
|
| --- a/webrtc/media/base/videoframe_unittest.h
|
| +++ b/webrtc/media/base/videoframe_unittest.h
|
| @@ -1808,31 +1808,6 @@ class VideoFrameTest : public testing::Test {
|
| EXPECT_TRUE(IsEqual(frame1, frame2, 1));
|
| }
|
|
|
| - ///////////////////
|
| - // General tests //
|
| - ///////////////////
|
| -
|
| - void Copy() {
|
| - std::unique_ptr<T> source(new T);
|
| - std::unique_ptr<cricket::VideoFrame> target;
|
| - ASSERT_TRUE(LoadFrameNoRepeat(source.get()));
|
| - target.reset(source->Copy());
|
| - EXPECT_TRUE(IsEqual(*source, *target, 0));
|
| - source.reset();
|
| - ASSERT_TRUE(target->video_frame_buffer() != NULL);
|
| - EXPECT_TRUE(target->video_frame_buffer()->DataY() != NULL);
|
| - }
|
| -
|
| - void CopyIsRef() {
|
| - std::unique_ptr<T> source(new T);
|
| - std::unique_ptr<const cricket::VideoFrame> target;
|
| - ASSERT_TRUE(LoadFrameNoRepeat(source.get()));
|
| - target.reset(source->Copy());
|
| - EXPECT_TRUE(IsEqual(*source, *target, 0));
|
| - const T* const_source = source.get();
|
| - EXPECT_EQ(const_source->video_frame_buffer(), target->video_frame_buffer());
|
| - }
|
| -
|
| int repeat_;
|
| };
|
|
|
|
|