summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/dns/dns_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/dns/dns_api.cc')
-rw-r--r--chrome/browser/extensions/api/dns/dns_api.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/extensions/api/dns/dns_api.cc b/chrome/browser/extensions/api/dns/dns_api.cc
index 1c91f41..f917f5d 100644
--- a/chrome/browser/extensions/api/dns/dns_api.cc
+++ b/chrome/browser/extensions/api/dns/dns_api.cc
@@ -58,11 +58,14 @@ void DnsResolveFunction::WorkOnIOThread() {
// determining its answer.
net::HostPortPair host_port_pair(hostname_, 0);
- net::HostResolver::RequestInfo request_info(host_port_pair);
+ net::HostResolver::RequestInfo request_info(host_port_pair,
+ net::DEFAULT_PRIORITY);
int resolve_result = host_resolver->Resolve(
- request_info, addresses_.get(),
+ request_info,
+ addresses_.get(),
base::Bind(&DnsResolveFunction::OnLookupFinished, this),
- request_handle_.get(), net::BoundNetLog());
+ request_handle_.get(),
+ net::BoundNetLog());
// Balanced in OnLookupFinished.
AddRef();