Index: webrtc/base/network.cc |
diff --git a/webrtc/base/network.cc b/webrtc/base/network.cc |
index 152bcdf671f38d7ac0e0a1a12b24300bab5d64fe..5593b6d5ac16cbd6261eb0283c926a3a6b671b52 100644 |
--- a/webrtc/base/network.cc |
+++ b/webrtc/base/network.cc |
@@ -730,9 +730,9 @@ void BasicNetworkManager::StartUpdating() { |
// we should trigger network signal immediately for the new clients |
// to start allocating ports. |
if (sent_first_update_) |
- thread_->Post(this, kSignalNetworksMessage); |
+ thread_->Post(RTC_FROM_HERE, this, kSignalNetworksMessage); |
} else { |
- thread_->Post(this, kUpdateNetworksMessage); |
+ thread_->Post(RTC_FROM_HERE, this, kUpdateNetworksMessage); |
StartNetworkMonitor(); |
} |
++start_count_; |
@@ -870,7 +870,8 @@ void BasicNetworkManager::UpdateNetworksOnce() { |
void BasicNetworkManager::UpdateNetworksContinually() { |
UpdateNetworksOnce(); |
- thread_->PostDelayed(kNetworksUpdateIntervalMs, this, kUpdateNetworksMessage); |
+ thread_->PostDelayed(RTC_FROM_HERE, kNetworksUpdateIntervalMs, this, |
+ kUpdateNetworksMessage); |
} |
void BasicNetworkManager::DumpNetworks() { |