author | Steve Workman <sworkman@mozilla.com> |
Tue, 19 Nov 2013 11:22:01 -0800 | |
changeset 156433 | cc9c2520a53e61ee0857bff3532a022191854bba |
parent 156432 | 8c91fdae3362fac2bbe186cfd56403a1b61deebd |
child 156434 | bc13933a8f76ff4835b31a08edf91bda5c9de636 |
push id | 25678 |
push user | ryanvm@gmail.com |
push date | Wed, 20 Nov 2013 03:26:13 +0000 |
treeherder | mozilla-central@4f993fa378eb [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mcmanus |
bugs | 923458 |
milestone | 28.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/netwerk/base/src/ProxyAutoConfig.cpp +++ b/netwerk/base/src/ProxyAutoConfig.cpp @@ -341,17 +341,19 @@ ProxyAutoConfig::ResolveAddress(const ns unsigned int aTimeout) { nsCOMPtr<nsIDNSService> dns = do_GetService(NS_DNSSERVICE_CONTRACTID); if (!dns) return false; nsRefPtr<PACResolver> helper = new PACResolver(); - if (NS_FAILED(dns->AsyncResolve(aHostName, 0, helper, + if (NS_FAILED(dns->AsyncResolve(aHostName, + nsIDNSService::RESOLVE_PRIORITY_MEDIUM, + helper, NS_GetCurrentThread(), getter_AddRefs(helper->mRequest)))) return false; if (aTimeout && helper->mRequest) { if (!mTimer) mTimer = do_CreateInstance(NS_TIMER_CONTRACTID); if (mTimer) {