Index: webrtc/base/autodetectproxy.cc |
diff --git a/webrtc/base/autodetectproxy.cc b/webrtc/base/autodetectproxy.cc |
index 22950fb2b3c1102f0ce46a93f96bed17e2e3ae4e..f9c66fa7fed50b3c5a8db88f60fab796f8cd3027 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(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(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(FROM_HERE, this, MSG_TIMEOUT); |
return; |
} |
} |
- Thread::Current()->PostDelayed(timeout, this, MSG_TIMEOUT); |
+ Thread::Current()->PostDelayed(FROM_HERE, timeout, this, MSG_TIMEOUT); |
} |
bool AutoDetectProxy::DoConnect() { |