Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: webrtc/common_video/i420_video_frame_unittest.cc

Issue 2541863002: Delete VideoFrame default constructor, and IsZeroSize method. (Closed)
Patch Set: Delete DCHECK using IsZeroSize. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 62d14b9f4ac87851e7830a4078ced02febe20fd6..49cc4654fb34f7299404408300dc1edce4f0ae6a 100644
--- a/webrtc/common_video/i420_video_frame_unittest.cc
+++ b/webrtc/common_video/i420_video_frame_unittest.cc
@@ -111,12 +111,6 @@ void CheckRotate(int width, int height, webrtc::VideoRotation rotation,
} // namespace
-TEST(TestVideoFrame, InitialValues) {
- VideoFrame frame;
- EXPECT_TRUE(frame.IsZeroSize());
- EXPECT_EQ(kVideoRotation_0, frame.rotation());
-}
-
TEST(TestVideoFrame, WidthHeightValues) {
VideoFrame frame(I420Buffer::Create(10, 10, 10, 14, 90),
webrtc::kVideoRotation_0,
« no previous file with comments | « no previous file | webrtc/common_video/libyuv/webrtc_libyuv.cc » ('j') | webrtc/modules/video_coding/generic_encoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698