Bug 891866: Use AtomicRefCounted for RawDBusConnection, r=Ms2ger

RawDBusConnection incorrectly uses detail::RefCounted, which it
shouldn't. This patch converts it to use AtomicRefCounted instead.

--HG--
extra : rebase_source : 229bbbae3b43a47b362ab73dba5d1134a5ae1dac
This commit is contained in:
Thomas Zimmermann 2013-07-23 11:00:20 +02:00
parent 8d67417f09
commit 171a691f3a

View File

@ -22,7 +22,7 @@ struct DBusConnection;
namespace mozilla {
namespace ipc {
class RawDBusConnection : public detail::RefCounted<RawDBusConnection, detail::AtomicRefCount>
class RawDBusConnection : public AtomicRefCounted<RawDBusConnection>
{
struct ScopedDBusConnectionPtrTraits : ScopedFreePtrTraits<DBusConnection>
{