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

Unified Diff: media/cast/net/rtcp/receiver_rtcp_event_subscriber.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
Index: media/cast/net/rtcp/receiver_rtcp_event_subscriber.cc
diff --git a/media/cast/net/rtcp/receiver_rtcp_event_subscriber.cc b/media/cast/net/rtcp/receiver_rtcp_event_subscriber.cc
index 6ada1e493ccf64d3f5e395f54842a096f6af60d1..7935e673ffc3c5071995c57175c53437d29d0ab9 100644
--- a/media/cast/net/rtcp/receiver_rtcp_event_subscriber.cc
+++ b/media/cast/net/rtcp/receiver_rtcp_event_subscriber.cc
@@ -81,7 +81,7 @@ void ReceiverRtcpEventSubscriber::GetRtcpEventsWithRedundancy(
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(rtcp_events);
- uint64 event_level = rtcp_events_.size() + popped_events_;
+ uint64_t event_level = rtcp_events_.size() + popped_events_;
event_levels_for_past_frames_.push_back(event_level);
for (size_t i = 0; i < kNumResends; i++) {
@@ -89,8 +89,9 @@ void ReceiverRtcpEventSubscriber::GetRtcpEventsWithRedundancy(
if (event_levels_for_past_frames_.size() < resend_delay + 1)
break;
- uint64 send_limit = event_levels_for_past_frames_[
- event_levels_for_past_frames_.size() - 1 - resend_delay];
+ uint64_t send_limit =
+ event_levels_for_past_frames_[event_levels_for_past_frames_.size() - 1 -
+ resend_delay];
if (send_ptrs_[i] < popped_events_) {
send_ptrs_[i] = popped_events_;

Powered by Google App Engine
This is Rietveld 408576698