From dc55a806cf9d3c410b9cfb9257d6cff6a43f399b Mon Sep 17 00:00:00 2001 From: "mmenke@chromium.org" Date: Tue, 23 Nov 2010 20:17:01 +0000 Subject: Make NetLog::EventParameters RefCountedThreadSafe. This avoids a potential race condition in events logged on other threads and then passed to the IO thread by a ForwardingNetLog (Such as ProxyResolvers do). BUG=64188 TEST=none Review URL: http://codereview.chromium.org/5354001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67142 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/net_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/base') diff --git a/net/base/net_log.h b/net/base/net_log.h index aa0b70e5..ad775fa 100644 --- a/net/base/net_log.h +++ b/net/base/net_log.h @@ -81,7 +81,7 @@ class NetLog { // Base class for associating additional parameters with an event. Log // observers need to know what specific derivations of EventParameters a // particular EventType uses, in order to get at the individual components. - class EventParameters : public base::RefCounted { + class EventParameters : public base::RefCountedThreadSafe { public: EventParameters() {} virtual ~EventParameters() {} -- cgit v1.1