Index: media/cast/test/end2end_unittest.cc |
diff --git a/media/cast/test/end2end_unittest.cc b/media/cast/test/end2end_unittest.cc |
index bfdcf0c743cf06f283e79894fde0208d05fca214..96570b0473ce252cc7061d4f981188942030bd1d 100644 |
--- a/media/cast/test/end2end_unittest.cc |
+++ b/media/cast/test/end2end_unittest.cc |
@@ -369,8 +369,9 @@ class TestReceiverVideoCallback |
<< "time_since_capture - upper_bound == " |
<< (time_since_capture - upper_bound).InMilliseconds() << " mS"; |
EXPECT_LE(expected_video_frame.capture_time, render_time); |
- EXPECT_EQ(expected_video_frame.width, video_frame->coded_size().width()); |
- EXPECT_EQ(expected_video_frame.height, video_frame->coded_size().height()); |
+ EXPECT_EQ(expected_video_frame.width, video_frame->visible_rect().width()); |
+ EXPECT_EQ(expected_video_frame.height, |
+ video_frame->visible_rect().height()); |
gfx::Size size(expected_video_frame.width, expected_video_frame.height); |
scoped_refptr<media::VideoFrame> expected_I420_frame = |