summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 20:36:29 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 20:36:29 +0000
commitc2d4449362cb38bfe492d7655885c4c5b3944139 (patch)
tree5393b6d1c019fc3b3ce8c74eea523a0a77f549d9 /net
parent3f7275f851e79ddd8e285e7267e1d8ac7e360f0d (diff)
downloadchromium_src-c2d4449362cb38bfe492d7655885c4c5b3944139.zip
chromium_src-c2d4449362cb38bfe492d7655885c4c5b3944139.tar.gz
chromium_src-c2d4449362cb38bfe492d7655885c4c5b3944139.tar.bz2
Fixed a few data races on reference counters.
BUG=18488 Review URL: http://codereview.chromium.org/215011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26476 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/host_resolver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h
index e5c46a3..fe91b4d 100644
--- a/net/base/host_resolver.h
+++ b/net/base/host_resolver.h
@@ -28,7 +28,7 @@ class LoadLog;
// request at a time is to create a SingleRequestHostResolver wrapper around
// HostResolver (which will automatically cancel the single request when it
// goes out of scope).
-class HostResolver : public base::RefCounted<HostResolver> {
+class HostResolver : public base::RefCountedThreadSafe<HostResolver> {
public:
// The parameters for doing a Resolve(). |hostname| and |port| are required,
// the rest are optional (and have reasonable defaults).