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

Unified Diff: media/cast/rtp_sender/rtp_sender.cc

Issue 25782002: Style fixes for cast_unittest to build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NOTREACHED() and removed static_cast Created 7 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
Index: media/cast/rtp_sender/rtp_sender.cc
diff --git a/media/cast/rtp_sender/rtp_sender.cc b/media/cast/rtp_sender/rtp_sender.cc
index ecaae40dd7ab74e59d9bbc13a9a4ac29f544e72b..6bb6dc74fce94a80eaf42cba4ab961ceaf98868a 100644
--- a/media/cast/rtp_sender/rtp_sender.cc
+++ b/media/cast/rtp_sender/rtp_sender.cc
@@ -83,7 +83,7 @@ void RtpSender::ResendPackets(
// Set a unique incremental sequence number for every packet.
UpdateSequenceNumber(&packet);
// Set the size as correspond to each frame.
- transport_->ResendPacket(packet, packets.size());
+ transport_->ResendPacket(packet, static_cast<int>(packets.size()));
++packet_id;
}
} while (success);
@@ -101,7 +101,7 @@ void RtpSender::ResendPackets(
<< packet_id << " size: " << packet.size();
UpdateSequenceNumber(&packet);
// Set the size as correspond to each frame.
- transport_->ResendPacket(packet, packets.size());
+ transport_->ResendPacket(packet, static_cast<int>(packets.size()));
} else {
VLOG(1) << "Failed to resend " << static_cast<int>(frame_id) << ":"
<< packet_id;
« no previous file with comments | « media/cast/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc ('k') | media/cast/rtp_sender/rtp_sender.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698