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

Unified Diff: media/cast/net/cast_transport_sender_impl_unittest.cc

Issue 1515433002: Replace uses of raw uint32's with a type-checked RtpTimeTicks data type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Speculative workaround fix for win8_chromium_ng compile error. Created 5 years 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 | « media/cast/net/cast_transport_sender_impl.cc ('k') | media/cast/net/mock_cast_transport_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/cast_transport_sender_impl_unittest.cc
diff --git a/media/cast/net/cast_transport_sender_impl_unittest.cc b/media/cast/net/cast_transport_sender_impl_unittest.cc
index 8c1a9b2b890608a85b3345e7ea15d6017137a43c..c4b4098a1a5b7c366c94ee0004e7644e3aedd68d 100644
--- a/media/cast/net/cast_transport_sender_impl_unittest.cc
+++ b/media/cast/net/cast_transport_sender_impl_unittest.cc
@@ -181,7 +181,7 @@ TEST_F(CastTransportSenderImplTest, NacksCancelRetransmits) {
// A fake frame that will be decomposed into 4 packets.
EncodedFrame fake_frame;
fake_frame.frame_id = 1;
- fake_frame.rtp_timestamp = 1;
+ fake_frame.rtp_timestamp = RtpTimeTicks().Expand(UINT32_C(1));
fake_frame.dependency = EncodedFrame::KEY;
fake_frame.data.resize(5000, ' ');
@@ -230,7 +230,7 @@ TEST_F(CastTransportSenderImplTest, CancelRetransmits) {
// A fake frame that will be decomposed into 4 packets.
EncodedFrame fake_frame;
fake_frame.frame_id = 1;
- fake_frame.rtp_timestamp = 1;
+ fake_frame.rtp_timestamp = RtpTimeTicks().Expand(UINT32_C(1));
fake_frame.dependency = EncodedFrame::KEY;
fake_frame.data.resize(5000, ' ');
@@ -273,7 +273,7 @@ TEST_F(CastTransportSenderImplTest, Kickstart) {
// A fake frame that will be decomposed into 4 packets.
EncodedFrame fake_frame;
fake_frame.frame_id = 1;
- fake_frame.rtp_timestamp = 1;
+ fake_frame.rtp_timestamp = RtpTimeTicks().Expand(UINT32_C(1));
fake_frame.dependency = EncodedFrame::KEY;
fake_frame.data.resize(5000, ' ');
« no previous file with comments | « media/cast/net/cast_transport_sender_impl.cc ('k') | media/cast/net/mock_cast_transport_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698