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

Unified Diff: content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc

Issue 2430643002: Use microsecond-style WebRtcVideoFrame constructor. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc
diff --git a/content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc b/content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc
index 5222b3e698c5d02e727709b16ddf2f4318bbc003..f132925df148e12c20e479875eb6b3f7b15a1699 100644
--- a/content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc
+++ b/content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc
@@ -132,7 +132,7 @@ TEST_F(MediaStreamRemoteVideoSourceTest, StartTrack) {
buffer->SetToBlack();
source()->SinkInterfaceForTest()->OnFrame(
- cricket::WebRtcVideoFrame(buffer, 1, webrtc::kVideoRotation_0));
+ cricket::WebRtcVideoFrame(buffer, webrtc::kVideoRotation_0, 1000));
run_loop.Run();
EXPECT_EQ(1, sink.number_of_frames());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698