Index: webrtc/video/video_send_stream_tests.cc |
diff --git a/webrtc/video/video_send_stream_tests.cc b/webrtc/video/video_send_stream_tests.cc |
index 7a60b765e2a329361e5c0d4a2c3bfec6f89efdad..e347ede38031cb6c0be7a6488444ddc0668e1779 100644 |
--- a/webrtc/video/video_send_stream_tests.cc |
+++ b/webrtc/video/video_send_stream_tests.cc |
@@ -318,8 +318,7 @@ TEST_F(VideoSendStreamTest, SupportsVideoContentType) { |
if (!header.markerBit) |
return SEND_PACKET; |
EXPECT_TRUE(header.extension.hasVideoContentType); |
- EXPECT_EQ(VideoContentType::SCREENSHARE, |
- header.extension.videoContentType); |
+ EXPECT_TRUE(header.extension.videoContentType.IsScreenshare()); |
observation_complete_.Set(); |
return SEND_PACKET; |
} |