Index: webrtc/base/autodetectproxy.cc |
diff --git a/webrtc/base/autodetectproxy.cc b/webrtc/base/autodetectproxy.cc |
index e6174ec96b7544bc082f0e3b03a0c8bb4e11e6aa..e563304fb58f79b9a7689e8800a5cdff92aa3872 100644 |
--- a/webrtc/base/autodetectproxy.cc |
+++ b/webrtc/base/autodetectproxy.cc |
@@ -138,14 +138,14 @@ void AutoDetectProxy::OnResolveResult(AsyncResolverInterface* resolver) { |
<< resolver_->address(); |
proxy_.address = resolver_->address(); |
if (!DoConnect()) { |
- Thread::Current()->Post(this, MSG_TIMEOUT); |
+ Thread::Current()->Post(RTC_FROM_HERE, this, MSG_TIMEOUT); |
} |
} else { |
LOG(LS_INFO) << "Failed to resolve " << resolver_->address(); |
resolver_->Destroy(false); |
resolver_ = NULL; |
proxy_.address = SocketAddress(); |
- Thread::Current()->Post(this, MSG_UNRESOLVABLE); |
+ Thread::Current()->Post(RTC_FROM_HERE, this, MSG_UNRESOLVABLE); |
} |
} |
@@ -176,11 +176,11 @@ void AutoDetectProxy::Next() { |
resolver_->Start(proxy_.address); |
} else { |
if (!DoConnect()) { |
- Thread::Current()->Post(this, MSG_TIMEOUT); |
+ Thread::Current()->Post(RTC_FROM_HERE, this, MSG_TIMEOUT); |
return; |
} |
} |
- Thread::Current()->PostDelayed(timeout, this, MSG_TIMEOUT); |
+ Thread::Current()->PostDelayed(RTC_FROM_HERE, timeout, this, MSG_TIMEOUT); |
} |
bool AutoDetectProxy::DoConnect() { |