Index: webrtc/media/base/videoframe_unittest.h |
diff --git a/webrtc/media/base/videoframe_unittest.h b/webrtc/media/base/videoframe_unittest.h |
index 6ceba833b5b834c2a9f1c9d5b02813ab99bb78d0..666b04d1ece64c3a8f53ae5b65c1630517e562b5 100644 |
--- a/webrtc/media/base/videoframe_unittest.h |
+++ b/webrtc/media/base/videoframe_unittest.h |
@@ -1806,29 +1806,6 @@ class VideoFrameTest : public testing::Test { |
EXPECT_EQ(const_source->video_frame_buffer(), target->video_frame_buffer()); |
} |
- void StretchToFrame() { |
- // Create the source frame as a black frame. |
- T source; |
- EXPECT_TRUE(source.InitToBlack(kWidth * 2, kHeight * 2, 0)); |
- EXPECT_TRUE(IsSize(source, kWidth * 2, kHeight * 2)); |
- |
- // Create the target frame by loading from a file. |
- T target1; |
- ASSERT_TRUE(LoadFrameNoRepeat(&target1)); |
- EXPECT_FALSE(IsBlack(target1)); |
- |
- // Stretch and check if the stretched target is black. |
- source.StretchToFrame(&target1, true, false); |
- EXPECT_TRUE(IsBlack(target1)); |
- |
- // Crop and stretch and check if the stretched target is black. |
- T target2; |
- ASSERT_TRUE(LoadFrameNoRepeat(&target2)); |
- source.StretchToFrame(&target2, true, true); |
- EXPECT_TRUE(IsBlack(target2)); |
- EXPECT_EQ(source.GetTimeStamp(), target2.GetTimeStamp()); |
- } |
- |
int repeat_; |
}; |