| Index: content/browser/renderer_host/p2p/socket_host_throttler.cc
|
| diff --git a/content/browser/renderer_host/p2p/socket_host_throttler.cc b/content/browser/renderer_host/p2p/socket_host_throttler.cc
|
| index 57437d148db785431e499a72aad6c5a07c2eb871..90c4208834cb798796be1e073d9cd62aed7b4c4f 100644
|
| --- a/content/browser/renderer_host/p2p/socket_host_throttler.cc
|
| +++ b/content/browser/renderer_host/p2p/socket_host_throttler.cc
|
| @@ -31,7 +31,7 @@ void P2PMessageThrottler::SetSendIceBandwidth(int bandwidth_kbps) {
|
|
|
| bool P2PMessageThrottler::DropNextPacket(size_t packet_len) {
|
| double now =
|
| - rtc::TimeMicros() / static_cast<double>(rtc::kNumMicrosecsPerMillisec);
|
| + rtc::TimeNanos() / static_cast<double>(rtc::kNumNanosecsPerSec);
|
| if (!rate_limiter_->CanUse(packet_len, now)) {
|
| // Exceeding the send rate, this packet should be dropped.
|
| return true;
|
|
|