Index: media/cast/logging/receiver_time_offset_estimator_impl.cc |
diff --git a/media/cast/logging/receiver_time_offset_estimator_impl.cc b/media/cast/logging/receiver_time_offset_estimator_impl.cc |
index d5116542d6bfbc08bfd4eceab9de1ab0d4f1bf63..db80fc4ab83b12bb9dd7eeeb7aff71b172de9d90 100644 |
--- a/media/cast/logging/receiver_time_offset_estimator_impl.cc |
+++ b/media/cast/logging/receiver_time_offset_estimator_impl.cc |
@@ -17,23 +17,23 @@ ReceiverTimeOffsetEstimatorImpl::BoundCalculator::BoundCalculator() |
ReceiverTimeOffsetEstimatorImpl::BoundCalculator::~BoundCalculator() {} |
void ReceiverTimeOffsetEstimatorImpl::BoundCalculator::SetSent( |
- uint32 rtp, |
- uint32 packet_id, |
+ uint32_t rtp, |
+ uint32_t packet_id, |
bool audio, |
base::TimeTicks t) { |
- uint64 key = (static_cast<uint64>(rtp) << 32) | (packet_id << 1) | |
- static_cast<uint64>(audio); |
+ uint64_t key = (static_cast<uint64_t>(rtp) << 32) | (packet_id << 1) | |
+ static_cast<uint64_t>(audio); |
events_[key].first = t; |
CheckUpdate(key); |
} |
void ReceiverTimeOffsetEstimatorImpl::BoundCalculator::SetReceived( |
- uint32 rtp, |
- uint16 packet_id, |
+ uint32_t rtp, |
+ uint16_t packet_id, |
bool audio, |
base::TimeTicks t) { |
- uint64 key = (static_cast<uint64>(rtp) << 32) | (packet_id << 1) | |
- static_cast<uint64>(audio); |
+ uint64_t key = (static_cast<uint64_t>(rtp) << 32) | (packet_id << 1) | |
+ static_cast<uint64_t>(audio); |
events_[key].second = t; |
CheckUpdate(key); |
} |
@@ -53,8 +53,8 @@ void ReceiverTimeOffsetEstimatorImpl::BoundCalculator::UpdateBound( |
has_bound_ = true; |
} |
-void ReceiverTimeOffsetEstimatorImpl::BoundCalculator::CheckUpdate( |
- uint64 key) { |
+ void ReceiverTimeOffsetEstimatorImpl::BoundCalculator::CheckUpdate( |
+ uint64_t key) { |
const TimeTickPair& ticks = events_[key]; |
if (!ticks.first.is_null() && !ticks.second.is_null()) { |
UpdateBound(ticks.first, ticks.second); |