Index: webrtc/test/frame_generator_unittest.cc |
diff --git a/webrtc/test/frame_generator_unittest.cc b/webrtc/test/frame_generator_unittest.cc |
index 2cffdcaa8c3759d675d80b6f712b8d5a4f6349b6..b375d040ff008d1abc9948c944ea1e09d9e4efc0 100644 |
--- a/webrtc/test/frame_generator_unittest.cc |
+++ b/webrtc/test/frame_generator_unittest.cc |
@@ -60,15 +60,12 @@ class FrameGeneratorTest : public ::testing::Test { |
// Check that frame is valid, has the correct color and timestamp are clean. |
ASSERT_NE(nullptr, frame); |
const uint8_t* buffer; |
- ASSERT_EQ(y_size, frame->allocated_size(PlaneType::kYPlane)); |
buffer = frame->video_frame_buffer()->DataY(); |
for (int i = 0; i < y_size; ++i) |
ASSERT_EQ(y, buffer[i]); |
- ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kUPlane)); |
buffer = frame->video_frame_buffer()->DataU(); |
for (int i = 0; i < uv_size; ++i) |
ASSERT_EQ(u, buffer[i]); |
- ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kVPlane)); |
buffer = frame->video_frame_buffer()->DataV(); |
for (int i = 0; i < uv_size; ++i) |
ASSERT_EQ(v, buffer[i]); |