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

Unified Diff: webrtc/common_video/i420_video_frame_unittest.cc

Issue 2286633002: Delete IsZeroSize method. (Closed)
Patch Set: Created 4 years, 4 months 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 406dbd3b9e87d79d5fbf18fe6160b10b8e1cdc7e..f2696f769d986cff67fd283883224d73df5f4d7b 100644
--- a/webrtc/common_video/i420_video_frame_unittest.cc
+++ b/webrtc/common_video/i420_video_frame_unittest.cc
@@ -86,7 +86,7 @@ void CheckCrop(webrtc::VideoFrameBuffer* frame,
TEST(TestVideoFrame, InitialValues) {
VideoFrame frame;
- EXPECT_TRUE(frame.IsZeroSize());
+ EXPECT_TRUE(!frame.video_frame_buffer());
EXPECT_EQ(kVideoRotation_0, frame.rotation());
}

Powered by Google App Engine
This is Rietveld 408576698