diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-27 01:50:14 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-27 01:50:14 +0000 |
commit | 94a0d3d91b7200e66a4d23bb49b38cae7e74f7db (patch) | |
tree | 7f6b01af9e6e2a741dc4938d8e524be9f277aa3a /net/proxy/proxy_resolver_v8.cc | |
parent | afef5e483bc3782ecaf2572493442e0a2bd22bac (diff) | |
download | chromium_src-94a0d3d91b7200e66a4d23bb49b38cae7e74f7db.zip chromium_src-94a0d3d91b7200e66a4d23bb49b38cae7e74f7db.tar.gz chromium_src-94a0d3d91b7200e66a4d23bb49b38cae7e74f7db.tar.bz2 |
Make net::HostResolver refcounted.
This way it can be properly shared between the url request contexts, and the dns prefetcher, and dns observer.
BUG=http://crbug.com/14664
TEST=existing unit tests.
Review URL: http://codereview.chromium.org/149053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_resolver_v8.cc')
-rw-r--r-- | net/proxy/proxy_resolver_v8.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/proxy/proxy_resolver_v8.cc b/net/proxy/proxy_resolver_v8.cc index ad4f1eb6..6bbffec 100644 --- a/net/proxy/proxy_resolver_v8.cc +++ b/net/proxy/proxy_resolver_v8.cc @@ -103,7 +103,7 @@ class SyncHostResolverBridge event_.Signal(); } - HostResolver* host_resolver_; + scoped_refptr<HostResolver> host_resolver_; MessageLoop* host_resolver_loop_; // Event to notify completion of resolve request. |