Index: webrtc/media/base/videoframe_unittest.h |
diff --git a/webrtc/media/base/videoframe_unittest.h b/webrtc/media/base/videoframe_unittest.h |
index 39985617c5ae6fcf209e746d3464e241ca9962b3..38c3f85a71f80523ed003b59480e5f8fc0180b61 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_; |
}; |