Index: webrtc/common_video/i420_video_frame_unittest.cc |
diff --git a/webrtc/common_video/i420_video_frame_unittest.cc b/webrtc/common_video/i420_video_frame_unittest.cc |
index 8c97ca7ac4c0d7750136d9605800b6642658ea1e..f3ee9314c7ca80cca8c02460268ac046b0473e43 100644 |
--- a/webrtc/common_video/i420_video_frame_unittest.cc |
+++ b/webrtc/common_video/i420_video_frame_unittest.cc |
@@ -12,6 +12,7 @@ |
#include <string.h> |
#include "webrtc/api/video/video_frame.h" |
+#include "webrtc/api/video/i420_buffer.h" |
#include "webrtc/base/bind.h" |
#include "webrtc/base/timeutils.h" |
#include "webrtc/test/fake_texture_frame.h" |
@@ -291,20 +292,4 @@ INSTANTIATE_TEST_CASE_P(Rotate, TestI420BufferRotate, |
kVideoRotation_180, |
kVideoRotation_270)); |
-class TestI420BufferRotateOld |
- : public ::testing::TestWithParam<webrtc::VideoRotation> {}; |
- |
-TEST_P(TestI420BufferRotateOld, Rotates) { |
- rtc::scoped_refptr<VideoFrameBuffer> buffer = CreateGradient(640, 480); |
- rtc::scoped_refptr<VideoFrameBuffer> rotated_buffer = |
- I420Buffer::Rotate(buffer, GetParam()); |
- CheckRotate(640, 480, GetParam(), *rotated_buffer); |
-} |
- |
-INSTANTIATE_TEST_CASE_P(Rotate, TestI420BufferRotateOld, |
- ::testing::Values(kVideoRotation_0, |
- kVideoRotation_90, |
- kVideoRotation_180, |
- kVideoRotation_270)); |
- |
} // namespace webrtc |